Browse Source

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
登录

1004749546@qq.com 4 years ago
parent
commit
eea4b41677
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/login/login.vue

+ 1 - 1
pages/login/login.vue

@@ -51,7 +51,7 @@
 								console.log(res, 'login data')
 								if (res.status == '200') {
 									console.log(res.data, 'login data')
-									uni.setStorageSync('token', res.data);
+									_this.$u.vuex('vuex_token',res.data)
 									if (_this.path === '/pages/index/main' || _this.lanuch) {
 										uni.reLaunch({
 											url: _this.path