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