Commit 1b10ae76 by caoyanzhi

注释两行不需要的代码

parent fe7d1dae
......@@ -51,13 +51,11 @@
<script>
/**
* 7个地方需要切换标签组选中状态,分别是
* 5个地方需要切换标签组选中状态,分别是
* 默认标签组
* 点击下拉菜单添加按钮
* 点击下拉菜单删除按钮
* 新增一个标签组
* 编辑标签
* 删除标签
* 点击选择标签组
* */
import './tags-detail.css';
......@@ -129,12 +127,12 @@ export default {
// 删除标签
delTags(data) {
this.selectedTagsData[data.tagsGroupIndex].splice(data.tagIndex, 1);
this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
// this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
},
// 编辑一个标签
editTags(data) {
// 保存之前先判断已选中的标签中是否存在即将添加的标签
this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
// this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
this.$emit('editTags', { tagsGroupIndex: data.tagsGroupIndex, tagIndex: data.tagIndex });
},
// 修改两个标签组之间的关系
......
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