diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index eae6f8e..dfd3e58 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -184,7 +184,11 @@ export default { getTagList() { if (this.$route.meta.menuType === 0) { this.showTag = true + } else { + this.showTag = false + return } + console.log(this.$route.meta.menuType) tagApi.tagList({userId: this.$store.state.user.userId}).then(res => { this.setTagListData(res.data) })