Commit 6ef2b27b by caoyanzhi

优化实现

parent 0e663809
......@@ -267,7 +267,11 @@ export default {
},
// 新增标签值按钮是否可用
canAddTagVal() {
return this.ruleForm.tagName.length > 0 && this.ruleForm.tagTwoLevelGroupId.length > 0 && this.ruleForm.tagLevelGroupId.length > 0;
/**
* 新增分组,必须先保存标签基本信息
* 编辑分组,保持常亮
* */
return !!this.tagId;
}
},
methods: {
......@@ -277,7 +281,7 @@ export default {
copy[index].showDelPopOver = false;
this.tagValTableData.splice(0);
this.$nextTick(() => {
this.tagValTableData = copy.slice(0);
this.tagValTableData = copy;
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment