修复删除考评组中,模板中维度指标无法删除的问题

This commit is contained in:
wulin 2021-03-11 16:22:58 +08:00
parent bbb713c3c2
commit f981a1e3e9

View File

@ -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()
}, },