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(() => {
return {
animation: false,
responsive: true,
maintainAspectRatio: false,
events: [],
@ -464,6 +465,7 @@ const chartOption = computed(() => {
const byteChartOption = computed(() => {
return {
animation: false,
responsive: true,
maintainAspectRatio: false,
events: [],