fix:Automatic installation默认选中asset
This commit is contained in:
@@ -105,8 +105,10 @@ export default {
|
|||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.assetList = response.data.list
|
this.assetList = response.data.list
|
||||||
if (this.assetList && this.assetList.length > 0) {
|
if (this.assetList && this.assetList.length > 0) {
|
||||||
this.assetId = String(this.assetList[0].id)
|
this.$nextTick(() => {
|
||||||
this.loadFinish = true
|
this.assetId = String(this.assetList[0].id)
|
||||||
|
this.loadFinish = true
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user