diff --git a/uni_modules/uni-id-pages-x/store.uts b/uni_modules/uni-id-pages-x/store.uts index 4b4483c7663c5d26412b08db378cc67ed2f9d7f9..c76254abbe4ed7547d2a0ae9a3bc1a4ec6ce9de4 100644 --- a/uni_modules/uni-id-pages-x/store.uts +++ b/uni_modules/uni-id-pages-x/store.uts @@ -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() } }