feat(user): add username modification function.

This commit is contained in:
Aqr-K
2024-10-18 02:50:52 +08:00
parent 2df4dc0535
commit 1c83752f56
5 changed files with 200 additions and 75 deletions
+2 -2
View File
@@ -63,8 +63,8 @@ async function restart() {
const isCompactMode = ref(localStorage.getItem('MP_APPMODE') != '0')
// 从Vuex Store中获取信息
const superUser = store.state.auth.superUser
const userName = store.state.auth.userName
const superUser = computed(() =>store.state.auth.superUser)
const userName = computed(() =>store.state.auth.userName)
const avatar = computed(() => store.state.auth.avatar || avatar1)
// 监听精简模式切换