fix: 默认数据修改
parent
0c41b523aa
commit
3a2899295e
|
|
@ -71,7 +71,7 @@
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
const offlineTotal = ref<any>({})
|
const offlineTotal = ref<any>(0)
|
||||||
|
|
||||||
const initData = () => {
|
const initData = () => {
|
||||||
if (askSectionData.value.offline && askSectionData.value.offline.length > 0) {
|
if (askSectionData.value.offline && askSectionData.value.offline.length > 0) {
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,7 @@
|
||||||
const askSectionData = inject("askSectionData", ref<{ online: any[]; scource: any[] }>({ online: [], scource: [] }));
|
const askSectionData = inject("askSectionData", ref<{ online: any[]; scource: any[] }>({ online: [], scource: [] }));
|
||||||
|
|
||||||
const chartData = ref<any[]>([]);
|
const chartData = ref<any[]>([]);
|
||||||
const onlineTotal = ref<any>({});
|
const onlineTotal = ref<any>(0);
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
() => askSectionData.value,
|
() => askSectionData.value,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue