更新:增加“我的书单”功能

This commit is contained in:
2025-11-10 09:16:28 +08:00
parent 33f861fa14
commit 577e782cd8
25 changed files with 4515 additions and 37 deletions

View File

@@ -36,6 +36,12 @@ export const useUserStore = defineStore('user', {
uni.setStorageSync('userInfo', userInfo)
},
/** 设置语言 */
setLanguage(language: string) {
this.language = language
uni.setStorageSync('appLanguage', language)
},
/** 登出 */
logout() {
try {