From 5857d90855c9691b021de8aac1a3edb0d26678ee Mon Sep 17 00:00:00 2001 From: wbb <1975655432@qq.com> Date: Fri, 11 Nov 2022 16:08:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scr/food/pages/login/login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scr/food/pages/login/login.js b/scr/food/pages/login/login.js index 47d4c41..bc98f42 100644 --- a/scr/food/pages/login/login.js +++ b/scr/food/pages/login/login.js @@ -30,6 +30,7 @@ Page({ wx.setStorageSync('avatarUrl', avatarUrl) wx.setStorageSync('nickName', nickName) console.log('成功',res) + wx.cloud.database().collection('user').add({ data: { userInfo:user,