有解决吗?那种情况会出现我的报错 TypeError: e.fail is not a function. (In 'e.fail({errCode:"0",errMsg:t.errMsg||""})', 'e.fail' is undefined) 复现不了呀
生产环境 部分手机 执行wx.getLocation 报错,怎么解决?MiniProgramError t.fail is not a function. (In 't.fail({ errCode: "0", errMsg: e.errMsg || "" })', 't.fail' is undefined) TypeError: t.fail is not a function. (In 't.fail({ errCode: "0", errMsg: e.errMsg || "" })', 't.fail' is undefined) fail@https://usr//app-service.js:22696:15 https://lib/WASubContext.js:1:140763 i@https://lib/WASubContext.js:1:141036 https://lib/WAServiceMainContext.js:1:934499 p@https://lib/WAServiceMainContext.js:1:166806 Vc@https://lib/WAServiceMainContext.js:1:660474 https://lib/WAServiceMainContext.js:1:840445 p@https://lib/WAServiceMainContext.js:1:166806 nv@https://lib/WAServiceMainContext.js:1:772169 forEach@[native code] emit@https://lib/WAServiceMainContext.js:1:772810 c@https://lib/WAServiceMainContext.js:1:841488 BS@https://lib/WAServiceMainContext.js:1:842835 https://lib/WAServiceMainContext.js:1:843451 https://lib/WAServiceMainContext.js:1:634748 https://lib/WAServiceMainContext.js:1:625380 emit@https://lib/WAServiceMainContext.js:1:119586 emit@[native code] emit@https://lib/WAServiceMainContext.js:1:119205 subscribeHandler@https://lib/WAServiceMainContext.js:1:125589 global code [图片]
08-26我的控制报错“remote-debug start error TypeError: Foundation.onLoad is not a function(env: macOS,mp,1.06.2504020; lib: 2.24.6)” 修改调试基础库就好了
调试器 wxml面板 Composed无法选中 ?版本:1.06.2412302 macOS arm64 无法选中。看不到自定义组件的结构 [图片]
08-20问题:[ WXML 文件编译错误] Error -1152: WXML file not found: xxx 解决:重启开发者工具好了
1.05.2204250 经常报Error -1152: WXML file not found错误: Error -1152: WXML file not found: 重现:修改布局后经常报错,重复点击编译后又正常了,这个应该是工具的bug 以下是错误: [ WXML 文件编译错误] 环境及执行信息: 编译器版本: 20220511 node版本: v16.4.2 参数: --config-path /tmp/4caf5c7bf045ba0ddfa67947953368d4 具体报错: Error -1152: WXML file not found: ././components/block-view/index>_<4207./components/cell/index>_<4207./components/cell-group/index>_<4207./components/checkbox/index>_<4207./components/checkbox-group/index>_<4207./components/col/index>_<4207./components/drag/index>_<4207./components/drawer/index>_<4207./components/image-selector/index>_<4207./components/image-view/index>_<4207./components/message/index>_<4207./components/refreshview/index>_<4207./components/row/index>_<4207./components/sheet/index>_<4207./components/sticky/index>_<4207./components/sticky-item/index>_<4207./components/swipeout/index>_<4207./components/switch/index>_<4207./components/tab-bar/index>_<4207./layer/login/index>_<4207./layer/modal/index>_<4207./layer/normal/index>_<4207./layer/paySuccess/index>_<4207./layer/register/index>_<4207./layer/userget/index>_<4207./pages/admin/appManage/index>_<4207./pages/admin/roomEdit/index>_<4207./pages/admin/roomManage/index>_<4207./pages/admin/roomManage/item/index>_<4207./pages/admin/roomOrderDetail/index>_<4207./pages/admin/roomOrderManage/index>_<4207./pages/admin/roomOrderManage/item/index>_<4207./pages/admin/roomOrderRevoke/index>_<4207./pages/admin/roomPrice/index>_<4207./pages/admin/roomStatusManage/index>_<4207./pages/admin/roomStatusManage/item/index>_<4207./pages/appraise/index>_<4207./pages/appraise/item/index>_<4207./pages/appraiseDetail/index>_<4207./pages/bookingDetail/index>_<4207./pages/bookingRoom/index>_<4207./pages/bookingRoom/item/index>_<4207./pages/home/index>_<4207./pages/index/index>_<4207./pages/me/index>_<4207./pages/roomDetail/index>_<4207./pages/roomOrder/index>_<4207./pages/roomOrder/orderItem/index>_<4207./pages/roomOrderDetail/index>_<4207./pages/userInfoEdit/index>_<4207./pagesComponents/appTextEdit/index>_<4207./pagesComponents/bookingDateSelector/index>_<4207./pagesComponents/dateSelector/index>_<4207./pagesComponents/hotelTags/index>_<4207./pagesComponents/huayuImage/index>_<4207./pagesComponents/price/index.wxml (env: Linux,mp,1.05.2204250; lib: 2.24.1) Uncaught FrameworkError Unexpected token '<' SyntaxError: Unexpected token '<'(env: Linux,mp,1.05.2204250; lib: 2.24.1)
2023-09-06我也遇到了这个问题,现在通过了吗?什么原因?怎么修改
经核实,你提交的订单中心path无法正常查看?有没具体的问题点和截图,这边尝试了 没问题。也提供了相应的订单截图
2022-12-28建议大家真机试一下 开发者工具:count :1,只能选择一张,count :2,能选大于等于2张。(开发者工具有问题) 真机预览count:2,就是能选2张
wx.chooseImage中count值得问题wx.chooseImage中设置count值为4,依然可以选择9张,是写法有问题吗? 代码: wx.chooseImage({ count: 4, // 默认9 sizeType: ['compressed'], // 可以指定是原图还是压缩图,默认二者都有 sourceType: ['album', 'camera'], // 可以指定来源是相册还是相机,默认二者都有 success: function(res) { } })
2022-10-24[图片]这里设置一下
微信开发者工具更改代码后不重新编译,只是刷新了下界面微信开发者工具更改代码后不重新编译,只是刷新了下界面,之前也出现过这个问题,把项目删掉重新建才好的,这回写的东西比较多,不好再删项目解决,不知道改怎么办了
2022-08-12