uu
This commit is contained in:
parent
50793554fe
commit
9f25d39ddf
@ -42,6 +42,7 @@
|
||||
async handleLoginedBack() {
|
||||
await promiseTimeout(300)
|
||||
await this.$store.dispatch(USERKEY.GETUSERINFO)
|
||||
this.lgDialog.show = false
|
||||
// showToast("登录成功")
|
||||
this.reloadCurrentPage(this) // 刷新当前页面
|
||||
},
|
||||
|
||||
@ -128,7 +128,7 @@
|
||||
let lg = await uniPromiseApi('login', {})
|
||||
let code = lg.res.code
|
||||
this.submitLogin.code = code
|
||||
let res = await apiService.loginByMP(this.submitLogin)
|
||||
let res = await apiService.loginByMP({ ...this.submitLogin, _loading: true })
|
||||
token = res.token
|
||||
this.token = token
|
||||
}catch(e){
|
||||
@ -138,7 +138,7 @@
|
||||
return token
|
||||
},
|
||||
async getPhoneNumber(e){
|
||||
let bPhoneRes = await apiService.bindPhone(e?.detail || {}, this.commodHeaders())
|
||||
let bPhoneRes = await apiService.bindPhone({ ...(e?.detail || {}), _loading: true }, this.commodHeaders())
|
||||
this.submitLogin.phoneNumber = bPhoneRes.phone
|
||||
},
|
||||
handleNicknamereview(e){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user