NEZ-2129 fix: 编辑asset是 选择 parent Asset 可以选择自身
This commit is contained in:
@@ -638,7 +638,7 @@ export default {
|
||||
return new Promise(resolve => {
|
||||
this.$get(this.url, { pageSize: -1, vmh: 1 }).then(response => {
|
||||
if (response.code === 200) {
|
||||
this.options.parentAssetOptions = response.data.list
|
||||
this.options.parentAssetOptions = response.data.list.filter(item => item.id !== this.editAsset.id)
|
||||
}
|
||||
resolve()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user