微信支付关联小程序APPID没有 [图片]
支付报错fail access denied, appId=wx85931711b1c8b975?微信支付报错errno: 102, errMsg: "requestPayment:fail :access denied, appId=wx85931711b1c8b975"
星期二 17:55代码看看
华为mate60pro+ textarea字数限制失效?[图片]
04-25是的,需要备案之后才能被搜索到
为什么会显示小程序涉嫌违规,但是违规记录里面也没有东西,我该怎么排查?[图片] [图片][图片][图片][图片] 小程序无法设置被搜索,是因为我没有备案吗,但是我去年和前年应该也都没有备案过,备案是新加的规定吗? [图片]
04-23url.replace(/&/g, '&');这样替换一下吧
在webview中 给个固定链接 莫名其妙的会多出amp;在webview中 给个固定链接 莫名其妙的会多出amp;这个来 在开发版本不打开开发调试就会出现这种情况 打开开发调试就正常跳转[图片][图片]
04-23要wx.login getPhoneNumber (e) { wx.login({ success: res => { console.log(res.code) } }); }
调用phonenumber.getPhoneNumber时而出现返回的动态令牌(code)为空情况?[图片]
04-21真机调试勾选不效验没有 [图片]
真机调试服务器部分功能无法实现?微信开发者工具模拟器可以正常运行(没有校验合法域名等),一到真机调试,服务器部分功能就无法实现。是不是一定要备案,合法域名才能真机调试成功?
04-18const query = wx.createSelectorQuery(); query.select('#myWebView').boundingClientRect(rect => { console.log(rect); }).exec(); wx.createSelectorQuery()这个也不行吗
this.selectComponent("#myWebView")为那么一直为null?#开发模式,已经选择不校验合法域名.调试基础库3.7.12 #wxml就这一句话,小程序中能正常打开页面浏览。 <web-view id="myWebView" src="http://192.168.1.6/pages/addPoint.html" bindload="onWebViewLoad"></web-view> #但在.js文件中 Page({ onReady(){ setTimeout(() => { const webViewComponent = this.selectComponent("#myWebView"); if (!webViewComponent) { console.error("延迟获取仍失败,检查是否有多个同名 id 或标签错误"); } }, 1000); } }) #webViewComponent始终是null
04-18这是哪里的导入
内容插入失败,图片导入失败是什么原因[图片]
04-18不支持呢
小程序分享后的,介绍的子的字体大小能否修改的?[图片]这里的字体大小,能修改吗?
04-18downloadFile要加filePath(指定文件下载后存储的路径),你再试试 const fileName = fileUrl.split('/').pop();//截取文件名+后缀 wx.downloadFile({ url: fileUrl, filePath: wx.env.USER_DATA_PATH + '/' + fileName,//指定文件下载后存储的路径 (本地路径) success(res) { console.log(res, '下载成功'); const filePath = res.filePath; wx.openDocument({ filePath: filePath, fileType: 'pdf', showMenu: true, success: function (res) { wx.showToast({ title: '打开文档成功', icon: 'none' }); }, fail: function (res) { wx.showToast({ title: '打开文档失败', icon: 'none' }); console.error('打开文档失败', res); } }); }, fail(res) { wx.showToast({ title: '下载文件失败', icon: 'none' }); console.error('下载文件失败', res); } });
原生微信小程序,安卓机型打开pdf失败,ios可以正常打开?wx.downloadFile({ url: fileUrl, success(res) { console.log(res, '下载成功'); const filePath = res.tempFilePath; wx.openDocument({ filePath: filePath, fileType: 'pdf', showMenu: true, success: function (res) { wx.showToast({ title: '打开文档成功', icon: 'none' }); }, fail: function (res) { wx.showToast({ title: '打开文档失败', icon: 'none' }); console.error('打开文档失败', res); } }); }, fail(res) { wx.showToast({ title: '下载文件失败', icon: 'none' }); console.error('下载文件失败', res); } });
04-17