修复删除考评组中,模板中维度指标无法删除的问题
This commit is contained in:
parent
bbb713c3c2
commit
f981a1e3e9
@ -525,7 +525,7 @@ export default {
|
|||||||
if (type === -1) {
|
if (type === -1) {
|
||||||
this.info.modelItems = this.info.modelItems.filter((i, xia) => xia !== index)
|
this.info.modelItems = this.info.modelItems.filter((i, xia) => xia !== index)
|
||||||
} else {
|
} else {
|
||||||
this.info.modelItems[type].tagetLibItems = this.info.modelItems[type].tagetLibItems.filter((i, xia) => xia !== index)
|
this.info.modelItems[type].tagetLibItems.isDelete = 1 // = this.info.modelItems[type].tagetLibItems.filter((i, xia) => xia !== index)
|
||||||
}
|
}
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user