style: 优化标签位置的显示

This commit is contained in:
jmal 2024-05-11 09:39:32 +08:00
parent ee3e173773
commit 48fdbe1c2e

View File

@ -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)
})