Houjie
2025-04-25 e5664351d1ebcbabe0c2ab87bcb4553557feb78e
store/index.js
@@ -37,6 +37,7 @@
            const result = response.data.result
            const userInfo = result.userInfo
         uni.setStorageSync(ACCESS_TOKEN,result.token);
         uni.setStorageSync("isLogin",true);
         uni.setStorageSync(USER_INFO,userInfo);
            commit('SET_TOKEN', result.token)
            commit('SET_AVATAR', userInfo.avatar)