pages/login/login.vue
@@ -198,9 +198,10 @@ }) if (code === 200) { this.load.loading = true; this.load.btnText = '登录中'; uni.setStorageSync('token', data.accessToken); if (this.remberPassword) { this.load.btnText = '登录中'; uni.setStorageSync('token', data.accessToken); uni.setStorageSync('userData', data.user); if (this.remberPassword) { uni.setStorageSync('user', this.user); } else { uni.removeStorageSync('user');