appid 不是 3rdMiniProgramAppid,ext.json 无法生效?? 老张 的回答 - 微信开放社区 https://developers.weixin.qq.com/community/develop/doc/000200c73b07709bcc0dfacc751c00?_at=1664502290502&jumpto=comment&commentid=000ee4614aced88ccb0d4d9e2564 这里给了我思路。 代开发小程序的绑定的小程序被解绑了,重新绑上就ok了。
不是 3rdMiniProgramAppid, ext.json 无法生效;查看文档?版本号: stable 1.06 2209190 涉及平台:mac(m1), win64
2022-09-30[图片][图片]
canvas 2d 报错 toTempFilePath:fail invalid viewid?模拟器没问题,真机一直报 toTempFilePath:fail invalid viewid? 业务是当前页面 需要点击进入别的页面填写内容,然后带参数返回 然后画海报保存 当前页面画直接画海报没问题,返回一直报 toTempFilePath:fail invalid viewid? onReady() { this.drawImage() }, drawImage: function () { let that = this const query = wx.createSelectorQuery() query.select('#myCanvas') .fields({ node: true, size: true }) .exec((res) => { const canvas = res[0].node const canvasRes = res[0] const ctx = canvas.getContext('2d') const dpr = wx.getSystemInfoSync().pixelRatio that.setData({ canvas , canvasRes, ctx, dpr }) }) }, drawImageDetail() { try { let userInfo = this.data.userInfo let canvasRes = this.data.canvasRes let canvas = this.data.canvas let dpr = this.data.dpr let ctx = this.data.ctx let that = this canvas.width = canvasRes.width * dpr canvas.height = canvasRes.height * dpr ctx.scale(dpr, dpr) ctx.fillStyle = 'white' ctx.fillRect(0, 0, canvas.width, canvas.height) ctx.font = '14px DINCondensed-Bold' ctx.fillStyle = '#BEC5CC' ctx.fillText(`生成海报`, 0, 0); setTimeout(() => { wx.canvasToTempFilePath({ canvas: canvas, success(res) { console.log(res.tempFilePath) }, fail(res){ console.log(res) } }) }, 400) } catch (error) { console.log(error) } },
2022-06-08问题: getExtConfigSync获取不到(必现) 机型: iphone12 ua如下: User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 15_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 MicroMessenger/8.0.18(0x1800123c) NetType/WIFI Language/zh_CN
第三方授权的小程序 正式上线后 getExtConfigSync 调用为空 急急急?现在在多个客户的小程序里出现了该问题, 昨天刚上线的时候都还是好好的, 今天突然就不行了 getExtConfigSync 获取的ext.json信息全都是空的
2022-04-08