- wx.navigateTo的参数url如何拼接路径?
项目为kbone vue 官方demo,目录结构如下 [图片] 在src\views\expertsPatrol\Index.vue中方法如下 goToPageB(){ wx.navigateTo({ url:'../detail/expertsDetails.vue'//按照此写法仍报错找不到此文件 }) },
2022-02-16 - phonenumber.getPhoneNumber的调用究竟需传什么参数?
phonenumber.getPhoneNumber//我的调用方法如下 wx.request({ url:'https://api.weixin.qq.com/wxa/business/getuserphonenumber?access_token='+this.accessToken.access_token, method:'POST', header: {'content-type': 'application/json'}, data:{ // appid:this.appid, // secret:this.secret, code:this.loginCode, // encryptedData:this.phoneNumber.encryptedData, // iv: this.phoneNumber.iv }, success:function(res){ console.log(res.data) } }) //返回的结果 errcode: 40029 errmsg: "invalid code hint: [RJGACOLoRa-AGMPWa] rid: 620a4ce4-20963e07-281d13a8"
2022-02-14