@@ -1,5 +1,5 @@
|
||||
# backend service base url, test environment
|
||||
VITE_SERVICE_BASE_URL=http://localhost:8080
|
||||
VITE_SERVICE_BASE_URL=http://192.168.9.50/u-api
|
||||
|
||||
# other backend service base url, test environment
|
||||
VITE_OTHER_SERVICE_BASE_URL= `{
|
||||
|
||||
@@ -5,6 +5,7 @@ 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,6 +231,8 @@ const updateGaugeData = (opts: ECOption, data: GaugeDisplayData) => {
|
||||
// 添加峰值速率的 ref
|
||||
const peakTrafficRate = ref(0);
|
||||
// mockDataUpdate 函数
|
||||
|
||||
// 修改 mockDataUpdate 函数
|
||||
async function mockDataUpdate() {
|
||||
try {
|
||||
const response = await authStore.getDashboardData();
|
||||
|
||||
Reference in New Issue
Block a user