Commit d0aebbfb by caoyanzhi

修改字段名称

parent 7302c58d
......@@ -20,7 +20,7 @@
  添加
</el-button>
<!-- 添加标签 -->
<el-dialog :visible.sync="showAddTagPop" title="选择标签" custom-class="tags-body" width="980px">
<el-dialog :visible.sync="showSelectTagPop" title="选择标签" custom-class="tags-body" width="980px">
<div class="tags">
<div class="tags-list">
<el-tree :data="tagsList" :props="{ label: 'nameStr', children: 'children' }" :default-expand-all="true" :highlight-current="true" @node-click="treeClick"></el-tree>
......@@ -89,7 +89,7 @@ export default {
data() {
return {
// 显示添加标签的弹窗
showAddTagPop: false,
showSelectTagPop: false,
// 标签分组的数据
tagsList: [],
// 一组标签的数据
......@@ -122,7 +122,7 @@ export default {
// 添加标签
addTags(data) {
// 添加之前先判断已选中的标签中是否存在即将添加的标签
this.showAddTagPop = true;
this.showSelectTagPop = true;
this.checkTagsGroup({ tagsGroupIndex: data.tagsGroupIndex });
this.$emit('addTags');
},
......
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