先暂时将绑定手机登录的移除

This commit is contained in:
wangxiaowei
2025-11-05 16:25:21 +08:00
parent e9cdc087b5
commit 06dfd658c8
3 changed files with 13 additions and 13 deletions

View File

@ -76,11 +76,11 @@ const alovaInstance = createAlova({
throw new Error('[请求错误]:未登录')
}
if (!mobile) {
toast.info('请先绑定手机号')
router.navigateTo('/pages/login/mobile', 500)
throw new Error('[请求错误]:未绑定手机号')
}
// if (!mobile) {
// toast.info('请先绑定手机号')
// router.navigateTo('/pages/login/mobile', 500)
// throw new Error('[请求错误]:未绑定手机号')
// }
method.config.headers.token = token;
}