- 报错dont support PerformanceObserver type=paint?
工具中正常,预览时报错dont support PerformanceObserver type=paint[图片] 这是什么原因呀
2022-01-08 - wx.getImageInfo返回的图片地址无法访问,报错500?
wx.getImageInfo [图片] 代码: src接受的图片路径参数无论http还是https都是可以正常访问的 [图片] 信息: [图片] [图片]
2021-12-24 - 为什么表单提交不能唤起消息订阅?
报错:fail can only be invoked by user TAP gesture. <form catchsubmit="formSubmit" class="form"> <button formType="submit" class="submit">提交</button> [图片]
2021-12-22 - requestSubscribeMessage消息订阅多个模板id报错id不存在,单个测试成功?
tabBanner:function(e){ console.log(1) var that=this if(e.currentTarget.dataset.jid){ wx.requestSubscribeMessage({ tmplIds:['a','b','c'], success:function(r){ console.log(2) enterWithOk({memberId:that.data.userid,newActivityId:e.currentTarget.dataset.jid}) wx.navigateTo({ url: 'xxxxx?scene='+e.currentTarget.dataset.jid, }) } }) } }, [图片]
2021-12-16 - wx.requestSubscribeMessage不执行?
tabBanner:function(e){ console.log(1) var that=this if(e.currentTarget.dataset.jid){ wx.requestSubscribeMessage({ tmplIds:['a','b','c','d','e'], success:function(r){ console.log(2) enterWithOk({memberId:that.data.userid,newActivityId:e.currentTarget.dataset.jid}) wx.navigateTo({ url: 'xxxxx?scene='+e.currentTarget.dataset.jid, }) } }) } }, [图片] 输出1不输出2
2021-12-16 - canvas2d画图.exec(res=>....res为空?
<canvas type="2d" id="poster" canvas-id="poster" style='width:{{canvasWidth}}px; height:{{canvasHeight}}px' class="poster_canvas" ></canvas> const query = wx.createSelectorQuery() query.select('#poster').fields({node:true,size:true}).exec( res=>{ console.log(res) const canvas = res[0].node const ctx = canvas.getContext('2d')
2021-12-04