微信开发者工具
[图片]
开发者工具版本号: 1.06.2412050win32-x64 操作系统: windows10 不知道从哪次更新之后, 调试器的wxml对于有伪元素的元素, 展开后都不会显示伪元素了... 但是伪元素确实存在
wx.miniapp.openUrl Cannot read property 'openUrl' of undefined
用浏览器测试接口没有问题,发布web版,使用浏览器访问,页面接口也没有问题,唯独使用开发者工具小程序,访问接口,每次清除缓存后,第一次访问好使,刷新页面,或者跳转到其他页面又提示接口500
发生错误SyntaxError: parse js file (D:/曜颜/node_modules/@babel/preset-env/node_modules/@babel/plugin-proposal-private-property-in-object/lib/index.js) failed: 'return' outside of function (25:2)
<!--pages/list/list.wxml--> <view class=“body”> <scroll-view class=“scroll” scroll-y> <swiper class=“container-swiper” indicator-dots indicator-active-color=“#000000” autoplay interval=“5000” 循环> <swiper-item> <view> <image src=“pages\list\01.jpg” mode=“aspectFit”/> </次观看> </swiper-item> <swiper-item> <view> <image src=“pages\list\02.jpg” mode=“aspectFit”/> </次观看> </swiper-item> <swiper-item> <view> <image src=“pages\list\03.jpg” mode=“aspectFit”/> </次观看> </swiper-item> </swiper > <view class=“container”> <text class=“price”>价格</text> <text class=“name”>名称</text> </次观看> </scroll-view> </次观看> / **pages.list.wxss**/ .body{ 高度:100vh; } .scroll{ 最小高度:100vh; 框大小: border-box; } .container-swiper{ 宽度:100px; 身高:40%; 框大小: border-box; } .container{ 内边距:3px; 最小高度:75%; 框大小: border-box; }
const req = wx.request({ url: BASE_URL + '/api/chat/createAndChat', method: 'POST', responseType: 'text', enableChunked: true, timeout: 1800000, header: { 'Authorization': uni.getStorageSync('token'), 'Accept': 'text/event-stream', 'Content-Type': 'application/json', }, data: { conversation_id: this.conversation_id, bot_id: this.botId, content: this.inputMessage, }, complete: (res) => { console.log(res); } }) req.onChunkReceived((response) => { const arrayBuffer = response.data; console.log(response.data); const uint8Array = new Uint8Array(arrayBuffer); // let text = uni.arrayBufferToBase64(uint8Array) let item = this.Utf8ArrayToStr(uint8Array); let json = item.split('\r\n'); json.forEach((item) => { if (item) { let obj = JSON.parse(item); //后面代码省略 该代码段在最新的开发者工具中无法调试,一直运行不出来。但我把版本回退到1.06.2407120 就可以了。找问题找了好几个晚上!!!!
[图片]
[图片] [图片] 没看到呢
[图片]
[图片][图片] 但是macbook上最新的微信开发者工具却可以正常显示networks,但macbook上面不能开启防火墙连接手机调试,而windows上可以 [图片]
[图片][图片][图片]
我是一个微信开发的小白,前几天下载了微信开发工具稳定版1.05版(wechat_devtools_1.05.2204250_x64),安装后左侧的模拟器一直是空白,但是在手机上可以预览一切正常.哪怕是新建一个项目,我一个代码都不改,还是一样的问题. 后来我以为是我的电脑配置低,于是卸载后又下载了旧版本1.02,(wechat_devtools_1.02.1910120_x64),安装后发现问题依旧. 跪求大佬救救我吧. 今天我重装了一变系统,问题还是没有解决。 哪怕是我新建一个小程序,不使用模板,不使用云服务,还是同样的问题。左边一片空白。晕死我了 [图片] 我快要疯了。
在电脑里的“npm init -y”打出来有反馈,可是在微信开发者程序里就是说没有,为什么?[图片]看不懂[图片]
[图片]
开发工具更新前都是正常的,更新后就不行了 [图片] [图片][图片][图片]
[图片]
普通编译下,会出现整个页面的点击事件都无效的情况,今天才出现,也是偶尔出现,基础版本库没有改变
开发工具热更新不好用
unity 导出的微信小游戏,运行不一会儿(甚至十几秒)就会崩溃,我以为是内存问题,然后优化了一些资源和代码,但是还是会崩溃,今天用真机调试测试,发现不会触发崩溃,这是内存限制还是代码层面的问题,还是微信开发工具的问题啊? [图片]
小程序助手
帮助小程序相关成员在手机端更方便、及时地管理小程序
小程序助手
扫码体验
https://developers.weixin.qq.com/miniprogram/dev/devtools/nightly.html试试这个版本