.
This commit is contained in:
parent
41051dcf33
commit
8e3ea68dbe
@ -203,14 +203,15 @@
|
||||
mask: true
|
||||
})
|
||||
|
||||
setTimeout(() => {
|
||||
uni.hideLoading();
|
||||
setCodeTimer();
|
||||
}, 3000)
|
||||
// setTimeout(() => {
|
||||
// uni.hideLoading();
|
||||
// setCodeTimer();
|
||||
// }, 3000)
|
||||
|
||||
store
|
||||
.dispatch("onGetCodePhone", loginForm.value.phone)
|
||||
.then(res => {
|
||||
uni.hideLoading();
|
||||
if (res.smsResponse) {
|
||||
plugin.modal.showToast("短信已发送")
|
||||
tipText.value = true
|
||||
@ -312,13 +313,14 @@
|
||||
icon: "error"
|
||||
})
|
||||
})
|
||||
.finally(() => {
|
||||
uni.hideLoading();
|
||||
})
|
||||
.finally(() => {})
|
||||
}
|
||||
|
||||
// 登陆成功
|
||||
async function loginSuccess() {
|
||||
uni.showLoading({
|
||||
mask: true
|
||||
});
|
||||
//如果记住密码
|
||||
if (rememberPassword.value) {
|
||||
uni.setStorageSync("jsy_remember", true)
|
||||
@ -350,9 +352,7 @@
|
||||
icon: "none"
|
||||
})
|
||||
})
|
||||
.finally(() => {
|
||||
uni.hideLoading();
|
||||
})
|
||||
.finally(() => {})
|
||||
}
|
||||
|
||||
// 跳转去首页
|
||||
@ -368,6 +368,7 @@
|
||||
// getApp().ijs.initData(userId, (land, wo) => {
|
||||
// getApp().getWoList(land, wo);
|
||||
// });
|
||||
uni.hideLoading();
|
||||
},
|
||||
fail: () => {},
|
||||
complete: () => {}
|
||||
|
Loading…
Reference in New Issue
Block a user