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

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

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