Commit 6d1d43b8 by liuchenxi

update: bug修复

parent cdcaa23e
......@@ -5,7 +5,7 @@
<div class="flex">
<el-tabs v-model="activeTag" @tab-click="handleClick">
<el-tab-pane label="系统标签" name="system" v-if="isShowSystem"></el-tab-pane>
<el-tab-pane label="手工标签" name="manual"></el-tab-pane>
<el-tab-pane label="手工标签" name="manual" ref="manualTab"></el-tab-pane>
<el-tab-pane label="活动标签" name="active"></el-tab-pane>
</el-tabs>
<a href="https://www.yuque.com/exnmlu/hpbb1c/cz27hs" target="_blank" class="help-doc">查看帮助文档</a>
......@@ -784,7 +784,9 @@ export default {
this.isShowSystem = res.result;
if(!res.result) {
this.activeTag='manual';
const manualTag = this.tagList.find(el => el.handTag == 1);
this.handTag = 1;
this.handleFristTag(manualTag);
};
})
}
......@@ -821,21 +823,22 @@ export default {
};
this.handTag = null;
this.groupId = '';
this.getTagList();
await this.getTagList();
await this.getShowSystem();
if (localStorage.getItem('groupId')) {
const hangObj = JSON.parse(localStorage.getItem('groupId'));
this.middleWareVariable = JSON.parse(JSON.stringify(hangObj));
if (!this.isShowSystem) return;
this.params.type = 1;
this.params.id = hangObj.id;
this.$store.commit('modiftTagName', this.tagName);
this.handTag = 1;
this.loadMemberTagList(this.params);
} else {
if (!this.isShowSystem) return;
this.loadMemberTagList(this.params);
this.$store.commit('modiftTagName', '我的用户');
}
this.getShowSystem()
},
mounted() {
this.$on('refersh-member-list', () => {
......
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