管理员功能增加

This commit is contained in:
JasonChen
2023-08-03 11:56:58 +08:00
parent 9b09e33695
commit 3df1509f91
14 changed files with 191 additions and 327 deletions

5
public/Index.vue vendored
View File

@@ -219,9 +219,12 @@ export default {
},
computed: {
currentUser () {
console.log(this.$store.getters)
return {
name: this.$store.getters.nickname,
avatar: this.$store.getters.avatar
avatar: this.$store.getters.avatar,
isManage: this.$store.getters.isManage,
username: this.$store.getters.username
}
}
},