现在可以了吗
2d的canvas android 不符合同层渲染?底层是相机,上层是2dcanvas,android上相机遮挡了2dcanvas。ios/开发工具正常的 代码片段 : https://developers.weixin.qq.com/s/cwaq6fmV7Sef
2020-03-14没细看 版本要求:[代码]wx-server-sdk[代码] [代码]1.3.0[代码] 或以上 不支持在小程序端使用,结果折腾半天。。
云开发数据库联表查询无权限[代码]const db = wx.cloud.database()[代码][代码] [代码][代码]db.collection([代码][代码]'pets'[代码][代码])[代码][代码] [代码][代码].get() [代码][代码] [代码][代码].then(res => {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]pets: res.data[代码][代码] [代码][代码]})[代码][代码] [代码][代码]})[代码][代码]const db = wx.cloud.database()[代码][代码] [代码][代码]db.collection([代码][代码]'shop'[代码][代码])[代码][代码] [代码][代码].get() [代码][代码] [代码][代码].then(res => {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]pets: res.data[代码][代码] [代码][代码]})[代码][代码] [代码][代码]})[代码] 正常查询都没问题 [代码]const db = wx.cloud.database()[代码][代码] [代码][代码]db.collection([代码][代码]'pets'[代码][代码]).aggregate()[代码][代码] [代码][代码].lookup({[代码][代码] [代码][代码]from: [代码][代码]'shop'[代码][代码],[代码][代码] [代码][代码]localField: [代码][代码]'shopId'[代码][代码],[代码][代码] [代码][代码]foreignField: [代码][代码]'_id'[代码][代码],[代码][代码] [代码][代码]as: [代码][代码]'shop'[代码][代码] [代码][代码]}) [代码][代码] [代码][代码].end() [代码][代码] [代码][代码].then(res => {[代码][代码] [代码][代码]console.log(res)[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]pets: res.data[代码][代码] [代码][代码]})[代码][代码] [代码][代码]})[代码][代码] [代码][代码].[代码][代码]catch[代码][代码](err => console.error(err))[代码] 联表查询就报没权限了 [代码]VM490:1 Error: errCode: -502003 database permission denied | errMsg: Permission denied[代码][代码] [代码][代码]at [代码][代码]new[代码] [代码]u (WAService.js:1)[代码][代码] [代码][代码]at Function.success (WAService.js:1)[代码][代码] [代码][代码]at Object.success (WAService.js:1)[代码][代码] [代码][代码]at r (WAService.js:1)[代码][代码] [代码][代码]at WAService.js:1[代码][代码] [代码][代码]at v (WAService.js:1)[代码][代码] [代码][代码]at WAService.js:1[代码][代码] [代码][代码]at t.<anonymous> (VM504 asdebug.js:1)[代码][代码] [代码][代码]at WAService.js:1[代码][代码] [代码][代码]at WAService.js:1[代码]
2020-03-14