异步数据导致渲染过早无法加载监控

This commit is contained in:
aixianling
2024-07-16 14:56:50 +08:00
parent 9b7b1283a8
commit 08cb8b1be8

View File

@@ -167,9 +167,9 @@ export default {
dynamicData = res.data
}
}
this.$set(this.componentList[index], item.dataType, dynamicData)
item[item.dataType] = dynamicData
} else {
this.$set(this.componentList[index], item.dataType, [])
item[item.dataType] = []
}
}
})