usernameInput: function (event){ console.log(event) }, 这样打印诗正常的
在编译注册代码的时候提示错误?错误提示如下: VM849:1 thirdScriptError Cannot read property 'value' of undefined;at pages/logs/logs page passwordInput function TypeError: Cannot read property 'value' of undefined js代码如下: onShareAppMessage: function () { }, usernameInput: function (event){ this.setData({username:event.datail.value}) }, passwordInput: function (event){ this.setData({ passwor: event.datail.value }) }
2019-09-23Page({ //第一个云函数 qiuhe(){ wx.cloud.callFunction({ name:"add", data:{ a:1, b:3 }, success(res){ console.log(获取成功, res) }, fail(res) { console.log(请求失败, res) } }) } }) index.js是这样的,应该怎样注册掉?
提示错误:thirdScriptError?VM63:1 thirdScriptError 获取成功 is not defined;at api cloud.callFunction success callback function ReferenceError: 获取成功 is not defined at Function.success (http://127.0.0.1:64691/appservice/pages/index/index.js:13:21) at Function.<anonymous> (WAService.js:1:102993) at WAService.js:1:163368 at a (WAService.js:1:163099) at WAService.js:1:163346 at WAService.js:1:270221 at u (WAService.js:1:270225) at WAService.js:1:283417 总是出现这种错误,哪位大神能帮帮忙!
2019-09-19方便的时候,把经验传上来交流一下呗!
微信开发者工具 paused in debugger老是显示 paused in debugger 哪里可以设置
2019-09-13