feat:对接首页数据
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user