This commit is contained in:
Iruka 2025-01-03 17:23:36 +08:00
parent 41051dcf33
commit 8e3ea68dbe

View File

@ -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: () => {}