style: 优化标签位置的显示
This commit is contained in:
parent
ee3e173773
commit
48fdbe1c2e
@ -184,7 +184,11 @@ export default {
|
|||||||
getTagList() {
|
getTagList() {
|
||||||
if (this.$route.meta.menuType === 0) {
|
if (this.$route.meta.menuType === 0) {
|
||||||
this.showTag = true
|
this.showTag = true
|
||||||
|
} else {
|
||||||
|
this.showTag = false
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
console.log(this.$route.meta.menuType)
|
||||||
tagApi.tagList({userId: this.$store.state.user.userId}).then(res => {
|
tagApi.tagList({userId: this.$store.state.user.userId}).then(res => {
|
||||||
this.setTagListData(res.data)
|
this.setTagListData(res.data)
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user