ide搜不出来 ios真机调试可以 ide版本 1.03.2006090
ide更新后好像无法发现mdns信息了- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo [代码]this[代码][代码].setData([代码][代码]"systemInfo"[代码][代码], wx.getSystemInfoSync());[代码] [代码]let serviceType = [代码][代码]'_sample_jmdns._tcp.'[代码][代码];[代码] [代码]wx.onLocalServiceFound(res=>{[代码] [代码]console.log([代码][代码]"onLocalServiceFound"[代码][代码],res);[代码] [代码]});[代码] [代码]wx.onLocalServiceResolveFail(res => {[代码] [代码]console.log([代码][代码]"onLocalServiceResolveFail"[代码][代码])[代码] [代码]});[代码] [代码]wx.onLocalServiceLost(res => {[代码] [代码]console.log([代码][代码]"onLocalServiceLost"[代码][代码])[代码] [代码]});[代码] [代码]wx.onLocalServiceDiscoveryStop(res => {[代码] [代码]console.log([代码][代码]"onLocalServiceDiscoveryStop"[代码][代码])[代码] [代码]});[代码] [代码]([代码][代码]new[代码] [代码]Promise(success => { wx.startWifi(); success([代码][代码]"startWifi"[代码][代码]) }))[代码] [代码].then(res => { console.log(res); [代码][代码]return[代码] [代码]new[代码] [代码]Promise(complete => { wx.startLocalServiceDiscovery({ serviceType, complete }) }) })[代码] [代码].then(console.log);[代码]
2020-07-12