| | |
| | | // 登录成功后跳转首页 - 正式 |
| | | getUserCid(data).then((res) => { |
| | | if (res.code != 0) { |
| | | this.$refs.refSuccess.showBox({ |
| | | type: 'error', |
| | | txt: res.msg |
| | | }); |
| | | store.commit('$tStore', { |
| | | name: 'vuex_is_login', |
| | | value: false |
| | | }) |
| | | setTimeout(() => { |
| | | uni.reLaunch({ |
| | | url: '/pages/index/index' |
| | | }); |
| | | }, 3000); |
| | | // this.$refs.refSuccess.showBox({ |
| | | // type: 'error', |
| | | // txt: res.msg |
| | | // }); |
| | | // store.commit('$tStore', { |
| | | // name: 'vuex_is_login', |
| | | // value: false |
| | | // }) |
| | | // setTimeout(() => { |
| | | // uni.reLaunch({ |
| | | // url: '/pages/index/index' |
| | | // }); |
| | | // }, 3000); |
| | | |
| | | // store.commit('$tStore', { |
| | | // name: 'uuid', |