feat:对接首页数据

This commit is contained in:
zjc
2025-03-11 16:02:49 +08:00
parent a63ace50c4
commit 999d99b68c
5 changed files with 79 additions and 16 deletions

View File

@@ -98,10 +98,12 @@
}
watch(
() => [props.dataList, chart.value],
() => props.dataList,
() => {
if (props.dataList.length > 0 && chart.value) {
init()
if (props.dataList.length > 0) {
setTimeout(() => {
init()
}, 1000)
}
},
{ immediate: true }