diff --git a/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/cloud/useroption/index.js b/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/cloud/useroption/index.js index 3bc31f0..01f8087 100644 --- a/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/cloud/useroption/index.js +++ b/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/cloud/useroption/index.js @@ -20,7 +20,7 @@ exports.main = async (event, context) => { data:event.addData //可添加多条或一条 //event:包含传过来的所有数据的一个对象 - }); + }) } //删 else if(event.option=="deleteuser"){ diff --git a/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/app.js b/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/app.js index 404830d..8625890 100644 --- a/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/app.js +++ b/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/app.js @@ -10,7 +10,7 @@ App({ // 此处请填入环境 ID, 环境 ID 可打开云控制台查看 // 如不填则使用默认环境(第一个创建的环境) // env: 'my-env-id', - env:'cloud1-5gsqi02q8e4bd2dc', + env:'cloud1-7gnkwzfv6ba72e50', traceUser: true, }); } diff --git a/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/pages/login/login.js b/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/pages/login/login.js index 3bc5b0f..e55d1f6 100644 --- a/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/pages/login/login.js +++ b/scr/wechat-weapp-mapdemo-master/wechat-weapp-mapdemo-master - 副本/miniprogram/pages/login/login.js @@ -6,14 +6,6 @@ Page({ user_password:'' }, - //输入用户名 - userNameChange: function (e) { - this.data.user_name = e.detail.value; - }, - //输入密码 - userPasswordChange: function (e) { - this.data.user_password = e.detail.value; - }, denglu() { wx.navigateTo({ url: '/pages/login_1/login_1',