Browse Source

嘎嘎嘎

shibei_master
dai 3 years ago
parent
commit
f7f75e1e79
  1. 4
      src/views/modules/shequzhili/xiangmu/cpts/project-info.vue

4
src/views/modules/shequzhili/xiangmu/cpts/project-info.vue

@ -694,7 +694,7 @@ export default {
this.projectTag = await Promise.all(
val.map(async (id) => {
let ele = [...tagOptions.customized, ...tagOptions.defaulted].find(
(item) => item.id == id
(item) => item.id == id || item.name == id
);
if (!ele) {
await this.createTag(id);
@ -714,7 +714,7 @@ export default {
};
})
);
this.projectTag = this.projectTag.filter(item => item.id)
this.projectTag = this.projectTag.filter((item) => item.id);
},
},

Loading…
Cancel
Save