| | |
| | | password: uni.getStorageSync('remberPassWord').password || '', |
| | | baseUrl: '', |
| | | weXinisLoginFlag:[1,2,3], //微信 |
| | | H5IsLoginFlag:[5,6], //h5 |
| | | H5IsLoginFlag:[5,6,7], //h5 |
| | | submitLoading: false |
| | | }; |
| | | }, |
| | |
| | | if (res.code) { |
| | | uni.setStorageSync('bindcode', res.code); |
| | | } |
| | | } |
| | | }); |
| | | this.submitLoading = false |
| | | if (uni.getStorageSync('bindcode')) { |
| | | if (uni.getStorageSync('bindcode')) { |
| | | this.$reqPost('wxBind', { state: 'MINI', code: uni.getStorageSync('bindcode') }, |
| | | 'params').then(res => { |
| | | uni.hideLoading(); |
| | |
| | | this.submitLoading = false; |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | this.submitLoading = false |
| | | |
| | | } |
| | | }).catch(e => { |
| | | this.submitLoading = false |