提交 7bf9ef42 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 错误提示

上级 333b6a4d
......@@ -45,9 +45,10 @@ export default class Univerify {
const currentPage = pages[pages.length - 1]
const loginPageRoute = "uni_modules/uni-id-pages-x/pages/login/login"
if(currentPage.route === loginPageRoute){
uni.showToast({
title: err.errMsg,
icon: 'none'
uni.showModal({
title: '预登录失败',
content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg,
showCancel: false
});
}else{
// 获取除一键登录以外的登录方式
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册