fix:Automatic installation默认选中asset

This commit is contained in:
zyh
2023-03-13 11:24:12 +08:00
parent 22d69153fd
commit cf7eea33af

View File

@@ -105,8 +105,10 @@ export default {
if (response.code === 200) {
this.assetList = response.data.list
if (this.assetList && this.assetList.length > 0) {
this.assetId = String(this.assetList[0].id)
this.loadFinish = true
this.$nextTick(() => {
this.assetId = String(this.assetList[0].id)
this.loadFinish = true
})
}
}
})