fix(ns-login): add error callback handling for getCode

补充微信环境外获取验证码失败时的错误回调,保证错误能被正确抛出处理
This commit is contained in:
2026-06-29 08:46:23 +08:00
parent c629562190
commit 16cfe039ba

View File

@@ -266,6 +266,8 @@ export default {
} else {
this.getCode(authData => {
this.authLogin(authData, 'authOnlyLogin');
}, (err) => {
callback && callback(err);
});
}
} else if (this.$util.isWeiXin()) {