Houjie
2025-04-25 1d18ff904468e4a864312bdcf6d7c6a7c0477721
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)