- 新版开发者工具无法加载独立分包
从主分包页面点击跳转 独立分包的页面,显示空白页。
2020-07-07 - wxs计算后的节点属性经数据路径更新后更新失败
Page({ updateByPath(e) { console.log('by path:',JSON.stringify(e.currentTarget.dataset)) this.setData({ 'style.count': ++this.data.style.count }) }, updateByObject(e) { console.log('by object:',JSON.stringify(e.currentTarget.dataset)) this.setData({ 'style': { count: ++this.data.style.count } }) }, data: { style: { count: 1 } } }) u 输出日志 by path: {"styleObj":{"count":1},"styleStr":"{\"count\":1}"} by path: {"styleObj":{"count":2},"styleStr":"{\"count\":1}"} by path: {"styleObj":{"count":3},"styleStr":"{\"count\":1}"} by path: {"styleObj":{"count":4},"styleStr":"{\"count\":1}"} by path: {"styleObj":{"count":5},"styleStr":"{\"count\":1}"} by path: {"styleObj":{"count":6},"styleStr":"{\"count\":1}"} ## by object by object: {"styleObj":{"count":7},"styleStr":"{\"count\":1}"} by object: {"styleObj":{"count":8},"styleStr":"{\"count\":8}"} by object: {"styleObj":{"count":9},"styleStr":"{\"count\":9}"} by object: {"styleObj":{"count":10},"styleStr":"{\"count\":10}"} by object: {"styleObj":{"count":11},"styleStr":"{\"count\":11}"}
2020-04-24 - 开发者工具1.02.1912032 自定义头部BUG
[图片]
2019-12-04 - 【开发者工具报错】当分包路径存在 `-` 字符 & 开发者工具打开‘本地编译时进行合并编译’
条件: 当分包路径存在 `-` 字符 & 开发者工具打开‘本地编译时进行合并编译’ 报错: [代码]VM52:1 ENOENT: no such file or directory, open '/Users/hujin/WeChatProjects/minicode-3/__SUB__/bug-test/appservice.js'[代码][代码]Error: ENOENT: no such file or directory, open '/Users/hujin/WeChatProjects/minicode-3/__SUB__/bug-test/appservice.js'[代码][代码] [代码][代码]at Object.openSync (fs.js:447:3)[代码][代码] [代码][代码]at Object.readFileSync (fs.js:349:35)[代码][代码] [代码][代码]at Object.n.readFileSync (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/js/unpack/hackrequire/index.js:1:1216)[代码][代码] [代码][代码]at FileUtils.getFile (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/core.wxvpkg/8e2026561e71ea67df211489b756510c.js:385:41)[代码][代码] [代码][代码]at o (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/core.wxvpkg/81a45c52b8b2dedcaa34d05c772d10f0.js:1:1199)[代码][代码] [代码][代码]at processTicksAndRejections (internal/process/task_queues.js:85:5)[代码][代码] [代码][代码]at async Proxy.exports.default (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/core.wxvpkg/81a45c52b8b2dedcaa34d05c772d10f0.js:1:2399)[代码][代码] [代码][代码]at async Proxy.exports.compileMiniProgramJS (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/core.wxvpkg/d7959893394997a84922a4171f531a12.js:1:221)[代码][代码] [代码][代码]at async Proxy.module.exports (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/core.wxvpkg/87c0ac209c25d8bb448550638bb17663.js:1:988)[代码][代码] [代码][代码]at async o (/Users/hujin/Library/Application Support/微信开发者工具/WeappCode/package.nw/core.wxvpkg/94280b099bf2ed3aafc1f5e43519f037.js:17:384)[代码][代码]console.error @ VM52:1[代码][代码](anonymous) @ VM68:2[代码][代码]VM58 WAService.js:1 Uncaught Error: module "bug-test/index.js" is not defined[代码][代码] [代码][代码]at require (VM58 WAService.js:1)[代码][代码] [代码][代码]at <anonymous>:1103:9[代码][代码] [代码][代码]at HTMLScriptElement.scriptLoaded (<anonymous>:1144:12)[代码][代码] [代码][代码]at HTMLScriptElement.script.onload (<anonymous>:1155:20)[代码]
2019-11-28