一、分享功能微信
我调用分享,分享成功,可是打开分享页面报系统错误。 ```js onShareAppMessage: function(e) { let info = this.data.oilStation; return { from: 'bottom', title: '车主邦油站详情', desc: '关于车主邦加油服务', path: '/pages/gas/oilDetail/index?type=share&gasId=1323&oilNo=92', success: (res) => { console.log(res) }, fail: (error) => { my.showToast({ content: '分享错误' + error, type: 'none' }); } }; }, ``` 缘由是path的路径有问题,应该是 ‘pages/gas/oilDetail/index?type=share&gasId=1323&oilNo=92’ 微信的分享功能路径是 ‘/pages/gas/oilDetail/index?type=share&gasId=1323&oilNo=92’