Commit afc42ba0 authored by Facius's avatar Facius

fix: 应对后台默认手机号赋一个空格的值

parent 5710aac2
...@@ -110,14 +110,8 @@ export default { ...@@ -110,14 +110,8 @@ export default {
this.$u.vuex('openId', res.openId) this.$u.vuex('openId', res.openId)
// 如果已经绑定了手机号 // 如果已经绑定了手机号
if (res.phoneNumber) { // 后台会返回' '
// 更新手机号码 if (res.phoneNumber && res.phoneNumber > 1) {
// this.$u.api
// .updateUserInfo({
// phoneNumber: res.phoneNumber,
// })
// .then((ret) => {})
// 跳转到特定页面 // 跳转到特定页面
if (this.returnUrl) { if (this.returnUrl) {
if (this.returnUrl === 'pages/learn/selectCategory') { if (this.returnUrl === 'pages/learn/selectCategory') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment