Commit a58d4f8b by 匡雅琴

移除标签修改

1 parent 0e21d42f
...@@ -205,8 +205,17 @@ export default { ...@@ -205,8 +205,17 @@ export default {
item.tagChecked.splice(idx, 1) item.tagChecked.splice(idx, 1)
this.labelTreeRets.forEach(item => { this.labelTreeRets.forEach(item => {
this.labelTreeRetSelect.forEach(itm => { this.labelTreeRetSelect.forEach(itm => {
// if (item.labelGroup.id == itm.labelGroup.id) {
// item.tagChecked = utils.deepClone(itm.tagChecked)
// }
if (item.labelGroup.id == itm.labelGroup.id) { if (item.labelGroup.id == itm.labelGroup.id) {
item.tagChecked = utils.deepClone(itm.tagChecked) let tagChecked = []
itm.tagChecked.forEach(x => {
tagChecked.push(x.id)
})
this.$nextTick(() => {
item.tagChecked = item.labelList.filter(i => tagChecked.includes(i.id))
})
} }
if (item.tagChecked.length == 0) { if (item.tagChecked.length == 0) {
this.$nextTick(() => { this.$nextTick(() => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!