fix : asset list Box 页面打开时请求错误
This commit is contained in:
@@ -820,6 +820,7 @@ export default {
|
||||
},
|
||||
getModelData () {
|
||||
return new Promise(resolve => {
|
||||
if (this.editAsset.typeId) {
|
||||
this.$get('asset/model?pageSize=-1&typeIds=' + this.editAsset.typeId).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.options.modelOptions = response.data.list
|
||||
@@ -840,6 +841,7 @@ export default {
|
||||
}
|
||||
resolve()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
checkLocation (rule, value, callback) {
|
||||
|
||||
Reference in New Issue
Block a user