From 9801d8a313dc2ce23b9a7c4d0006ddb12cd33d5b Mon Sep 17 00:00:00 2001 From: anne-xml Date: Fri, 27 Dec 2024 16:14:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E7=BB=91=E5=AE=9A?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E5=8F=B7=E5=90=8E=E5=89=8D=E7=AB=AF=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/uni-id-pages-x/store.uts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uni_modules/uni-id-pages-x/store.uts b/uni_modules/uni-id-pages-x/store.uts index 4b4483c..c76254a 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() } } -- GitLab