|
@@ -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
|