【小程序-登录:后台修改用户账号后,用户再用原账号进行登录操作,提示语展示时间太短】https://www.tapd.cn/56509124/bugtrace/bugs/view?bug_id=1156509124001003526

This commit is contained in:
Jason 2022-09-16 16:28:56 +08:00
parent 36c2089316
commit 5eb0efe53e
1 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ const loginFun = async (scene: LoginTypeEnum, code?: string) => {
loginHandle(data)
} catch (error: any) {
uni.hideLoading()
throw new Error(error)
uni.$u.toast(error)
}
}
@ -339,7 +339,7 @@ onShow(async () => {
uni.hideLoading()
uni.navigateBack()
}
} catch (error) {
} catch (error: any) {
uni.hideLoading()
}
})