chore: remove chart animations to reduce performance costs (#187) (#188)

This commit is contained in:
Lykin 2024-03-18 20:10:22 +08:00
parent bb9c25a880
commit 3900052adb
1 changed files with 2 additions and 0 deletions

View File

@ -427,6 +427,7 @@ const networkRate = shallowRef({
const chartOption = computed(() => { const chartOption = computed(() => {
return { return {
animation: false,
responsive: true, responsive: true,
maintainAspectRatio: false, maintainAspectRatio: false,
events: [], events: [],
@ -464,6 +465,7 @@ const chartOption = computed(() => {
const byteChartOption = computed(() => { const byteChartOption = computed(() => {
return { return {
animation: false,
responsive: true, responsive: true,
maintainAspectRatio: false, maintainAspectRatio: false,
events: [], events: [],