提交 9801d8a3 编写于 作者: Anne_LXM's avatar Anne_LXM

修复 绑定手机号后前端更新的问题

上级 60f13f20
......@@ -79,11 +79,11 @@ export const mutations = {
param.toMap().forEach((value, key) => {
state.userInfo[key] = value
})
usersCollection
.doc(user_id)
.update(param)
if(!param.mobile){
usersCollection
.doc(user_id)
.update(param)
}
afterUpdateUserInfo()
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册