fix : asset list Box 页面打开时请求错误

This commit is contained in:
likexuan
2022-07-12 15:06:27 +08:00
parent a4c1a235f0
commit c9c3767d00

View File

@@ -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) {