This commit is contained in:
Cindy Chang
2024-08-01 15:13:05 +08:00
parent 1eda4dfb80
commit 405dd7f992
2 changed files with 49 additions and 40 deletions

View File

@@ -75,7 +75,11 @@ export default {
},
},
mounted() {
this.$route.name === 'Login' || this.$route.name === 'NotFound404' ? this.showMember = false : this.showMember = true;
if (this.$route.name === 'Login' || this.$route.name === 'NotFound404') {
this.showMember = false
} else {
this.showMember = true;
}
}
}