安卓无法显示吗
小程序产品图片放大 无法预览显示 黑屏然后转圈[图片][图片]点击商品后图片无法放大 一直在黑屏转圈 有部分手机不显示
刚刚已修复,逐步恢复中
wx.previewImage()为什么ios系统可以点查看图片,安卓手机一直处于加载中,查看不了?https://developers.weixin.qq.com/miniprogram/dev/api/media/image/wx.previewImage.html
1小时前微信版本多少
微信小程序使用picker组件mode = date,使用华为鸿蒙5.0点击没反应?日期选择组件,点击没有反应,手机型号:华为Pura 70 Pro [图片]
4小时前微信版本多少
鸿蒙手机连接同一个WiFi,通过getConnectedWifi获取到的BSSID和安卓io不一样?问题:wx.getConnectedWifi - 鸿蒙手机和安卓ios获取到的wifi的BSSID不一样;安卓和ios是一样的; 现象:功能已经用了很久了;最近用户反馈鸿蒙手机有问题,发现BSSID不一样导致 真机差异:ios获取到的BSSID是 62:a7:2d:63:05:bb 鸿蒙手机获取到的BSSID是 08:9e:c4:02:17:ec
4小时前麻烦提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
editor组件真机上异常,bindblur失去焦点事件中突然获取不到html内容?之前功能使用没问题的,突然今天发现真机上blur事件中获取不到editor中的html内容了(开发工具中没问题),是不是最近官方更新了啥导致的bug,看到3月份社区里有人也提过editor组件异常(说低基础库版本没问题),我测试不管之前的还是最新的基础库版本都有问题。原始代码: <editor id="editor" class="editor" placeholder="请输入正文内容..." bindstatuschange="onStatusChange" bindready="onEditorReady" bindblur="onEditorBlur" > </editor> js代码: onEditorBlur(e) { console.log("onContentInput===========start") console.log(e) let formData = this.data.formData formData.content = e.detail.html console.log(formData) console.log("onContentInput===========set") this.setData({ formData }) console.log(this.data.formData) console.log("onContentInput===========end") }, 真机调试有问题的截图: [图片][图片] 测试有效的解决办法 测试同时绑定 bindinput 事件后,bindblur 中则又可以正常获取到 html 的内容: <editor id="editor" class="editor" placeholder="请输入正文内容..." bindstatuschange="onStatusChange" bindready="onEditorReady" bindblur="onEditorBlur" bindinput="onEditorInput" > </editor> [图片]
5小时前不支持
url scheme 打开小程序的页面可以自定义吗,就是打开小程序的弹框背后的样式?[图片]
21小时前安卓还是ios,必现的吗?
wx.login会出现timeoutWi-Fi和蜂窝都开启的情况下,关闭Wi-Fi 刷新页面 然后关闭蜂窝 刷新页面,再开启蜂窝 这个时候刷新wx.login会调用不成功(time out) 有2个手机出现该问题(微信号:nfgood1213、nfgoodchen)时间是6月9号9点20左右
23小时前一般是证书链不全导致的
SSL过期,但是现在好了,小程序还不好怎么办?[图片] 线上的小程序还是会报这个错:err_cert_authority_invalid 中午13点已经好了,但是到现在晚上6点了。线上的小程序还不好怎么样?有客服电话啥的不?
23小时前已知问题,后续修复
安卓使用connectWifi报错WIFI config already existed调用 wx.connectWifi({ SSID: ssid, password: pwd, forceNewApi: true, success: function (res) { console.log('连接无线网络成功') // isEnd = true resolve(true) }, fail: function (res) { console.log('连接无线网络失败', JSON.stringify(res)) // 移除监听 // wx.offWifiConnected(onConnected) // isEnd = true resolve(false) }, complete: function (res) { console.log('连接无线网络逻辑完毕', JSON.stringify(res)) isEnd = true } }) 报错:连接无线网络失败 {"errno":1505042,"errCode":12015,"errMsg":"connectWifi:fail:wifi config already exist"} [图片] [图片] 当前连接网络1,然后使用 wx.connectWifi 连接网络2 报错。 安卓手机,使用 wx.connectWifi 时,如果弹出保存网络对话框,保存后,再次 使用 wx.connectWifi 连接网络,则会出现上述问题。 [图片]
1天前已知问题,后续修复
微信更新8.0.60后,小程序调用wx.connectWifi连接ESP8266时连接不上。问题:微信版本由8.0.58更新到8.0.60后,用微信小程序调用wx.connectWifi配置硬件ESP8266网络时出现第一次连接时可以成功连接并提示`要保存此网络吗`选择保存后可以连接成功,手机连接上的wifi也可以切换成功,但是在保存这个网络后第二次及之后连接这个ESP8266网络时就连不上了,并且wx.connectWifi的fail回调中会出现错误:err: {"errno": 1505042, "errCode": 12015, "errMsg": "connectWifi:fail:wifi config already exist"}。 补充问题:TCPSocket.connect(Object options)接口在更新后也出现了连接建立不上的问题。 [图片][图片] 出问题的机型:目前已知 小米、红米、vivo 品牌的所有手机都有此问题。只有苹果和华为未出现这个问题。 特别说明:手机微信版本更新到8.0.58及之前安卓和苹果手机都未出现过此问题,因为我们测试时将微信8.0.60版本切换回8.0.58版本后可以正常使用。 怀疑问题所在点:在微信8.0.58版本调用wx.connectWifi接口时,弹出的提示框内容为微信要与某个设备搭配使用(选项是取消/连接),但在微信8.0.60版本调用wx.connectWifi接口时,弹出的提示框内容为要保存此网络吗(选项是取消/保存)`。 操作步骤为(在第二步出现问题了): 1. 连接指定 Wi-Fi 设备如果知道 Wi-Fi 设备名称和密码,并确认设备在附近,可以直接在小程序中连接指定 Wi-Fi。 接口调用时序为: startWifi: 初始化 Wi-Fi 模块connectWifi: 连接 Wi-Fi(iOS 需 11 及以上版本支持)onWifiConnected: 连接上 Wi-Fi 的事件回调 /** 确定按钮前置操作 //连接wifi初始化wifi */ initWifiConfirmTwo(){ const _this = this; this.loading = true; this.wifiFlag = false;//重置连接wifi标志 this.tcpFlag = false;//重置连接tcp标志 if(!this.getsysStatus()) return; // 检查 Wi-Fi 和 定位状态 wx.startWifi({ success (res) { _this.initWifiFlag = true; _this.loading = false; _this.confirmConnectWifi(); }, fail(err){ _this.loading = false; _this.initWifiFlag = false; } }) }, /**确定按钮真正操作 连接wifi */ async confirmConnectWifi(){ console.log("A1"); this.loading = true; // 调用设备重新进行wifi的服务 // await this.autoReSetNetService(); console.log("A2"); if(!this.wifiName){ this.loading = false; this.showAlert("WiFi名称不能为空!"); return; } uni.setStorageSync("historyWifiInfo",{'wifiName':this.wifiName,'wifiPassword':this.wifiPassword})//缓存上次的名称密码 if(!this.wifiPassword){ this.loading = false; const res = await this.showModalSc(); if (res.confirm) { this.connects();// 执行tcp连接操作 } else if (res.cancel) { this.loading = false; } }else{ //如果 Wi-Fi 密码不为空,直接执行连接 this.loading = false; this.connects(); } }, showModalSc(){ return new Promise((resolve,reject) => { uni.showModal({ title: '提示', content: `WiFi密码为空,是否继续`, cancelText: '取消', confirmText: '继续', success: function (res) { resolve(res) } }); }) }, /** 连接设备 */ async connects(attempt = 1){ if (this.isUnloaded) return; console.log("B1",attempt); const _this = this; this.loading = true; if(this.wifiFlag == false){ try{ console.log("B2",attempt); const res = await this.connwifi(this.deviceBSSID);//页面退出前进入了这个方法 console.log("B3",attempt); if (this.isUnloaded) return; console.log("B4",attempt); console.log('结果:',res);// {errCode:0,errMsg:"connectWifi:ok",errno:0} if((this.userPhoneOS == 'ios' || res.errCode==0) && res.errMsg == 'connectWifi:ok'){ console.log("B5",attempt); this.wifiFlag=true; console.log("B6",attempt); // 连接成功后开始建立 TCP 连接 this.timers.timerB = setTimeout(()=>{ console.log("B7",attempt); try{ this.loading = false; console.log("B8",attempt); if (this.isUnloaded) return; console.log("B9",attempt); this.createTcpEsp(); console.log("B10",attempt); }catch(e){ console.log("B11",attempt); this.loading = false; console.log("B12",attempt); } },500) } } catch(err){ console.log("B101",attempt); console.log('catch结果:',err); console.log("B102",attempt); this.wifiFlag=false; console.log("B103",attempt); if (this.isWifiActive && attempt < 3) { console.log("B104",attempt); this.timers.timerC = setTimeout(() => { console.log("B105",attempt) if (this.isUnloaded) return; console.log("B106",attempt); this.connects(attempt + 1); console.log("B107",attempt); }, 2000 * attempt); console.log("B108",attempt); } else { console.log("B109",attempt); this.loading = false; console.log("B110",attempt); if (this.isUnloaded) return; console.log("B111",attempt); this.handleWifiConnectionError(err);//但是页面退出后这个方法依旧被执行了 console.log("B112",attempt); } console.log("B113",attempt); } }else{ console.log("B114",attempt); console.log("this.wifiFlag 为 true"); this.loading = false; console.log("B115",attempt); } console.log("B116",attempt); }, /** 连接设备wifi */ connwifi(deviceBSSID){ console.log("C1",deviceBSSID); return new Promise((resolve,reject) => { console.log("C2",deviceBSSID); wx.connectWifi({ SSID: deviceBSSID, password:'88888888', forceNewApi: true, success(res) { console.log("C3",deviceBSSID); console.log('res:',res); resolve(res); }, fail(err){ console.log("C4",deviceBSSID); console.log('err:',err); reject(err) }, }) console.log("C5",deviceBSSID); }) console.log("C6",deviceBSSID); },
1天前