异步数据导致渲染过早无法加载监控
This commit is contained in:
@@ -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] = []
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user