我遇到这个问题是应该是编译器不支持es6 import导入的问题,改成require导入就不报错了。或者把编译器的js转es5开着
引入模块module 'xxx.js' is not defined, require args?VM643:11 页面【pages/receiveOrder/detail/index]错误: Error: module 'apis.js' is not defined, require args is '../../../apis' at V (WASubContext.js?t=wechat&s=1694148860099&v=3.0.0:1) at n (WASubContext.js?t=wechat&s=1694148860099&v=3.0.0:1) at index.ts:1 at WASubContext.js?t=wechat&s=1694148860099&v=3.0.0:1 at d.runWith (WASubContext.js?t=wechat&s=1694148860099&v=3.0.0:1) at V (WASubContext.js?t=wechat&s=1694148860099&v=3.0.0:1) at <anonymous>:8:5 at evaluateRes (VM14 asdebug.js:1) at VM14 asdebug.js:1 at Object.invoke (VM14 asdebug.js:1)(env: macOS,mp,1.06.2307260; lib: 3.0.0) [图片][图片][图片] 这是为什么呢,引入的路径没有问题的
01-23