fix:Automatic installation默认选中asset
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user