feat: There is no way the, 56519 企标计划-编辑,引用标准显示null 删除后提交 再次点击还是显示null

This commit is contained in:
396572590@qq.com
2022-07-15 17:31:31 +08:00
parent 0bbb2af24d
commit 66fb5de82f
@@ -832,7 +832,21 @@
}
},
props: {},
watch: {},
watch: {
'addForm.esMatingRelations': {
handler: function(val) {
if(val && val !== ''){
if(val.indexOf(",") !== -1){
const list = val.split(",")
const filterList = list.filter(s => s !== 'null');
this.addForm.esMatingRelations = filterList.join(",");
}else if(val === 'null'){
this.addForm.esMatingRelations = "";
}
}
}
},
},
methods: {
workChange (data) {
this.workGroupList = data