| | |
| | | } |
| | | } |
| | | } |
| | | } else if (uni.getStorageSync('code') !== code) { |
| | | |
| | | } else if (uni.getStorageSync('code') !== code) { |
| | | uni.setStorageSync('code', code); |
| | | |
| | | let res = await this.$u.api.login({ code: code }) |
| | | if (res.code === 200) { |
| | | this.$store.commit('setUserInfo', res.data) |
| | |
| | | "navigationStyle": "custom", |
| | | "navigationBarBackgroundColor": "#ffffff" |
| | | } |
| | | }, |
| | | { |
| | | "path" : "pages/exception/exception", |
| | | "style" : |
| | | { |
| | | "navigationBarTitleText" : "提示", |
| | | "navigationStyle": "custom", |
| | | "navigationBarBackgroundColor": "#ffffff" |
| | | } |
| | | } |
| | | ], |
| | | "globalStyle": { |