2
0

fix:取消前端模拟上网判断

This commit is contained in:
zhongzm
2024-12-27 10:42:35 +08:00
parent ac9af85eea
commit 579c5e8eaf
2 changed files with 1 additions and 35 deletions

View File

@@ -5,7 +5,6 @@ import { useAppStore } from '@/store/modules/app';
import type { ECOption } from '@/hooks/common/echarts';
import { useI18n } from 'vue-i18n';
import { useAuthStore } from '@/store/modules/auth';
const { t } = useI18n();
const authStore = useAuthStore();
defineOptions({
@@ -230,8 +229,7 @@ const updateGaugeData = (opts: ECOption, data: GaugeDisplayData) => {
// 添加峰值速率的 ref
const peakTrafficRate = ref(0);
// 修改 mockDataUpdate 函数
// mockDataUpdate 函数
async function mockDataUpdate() {
try {
const response = await authStore.getDashboardData();