请问hbuilder运行开发者工具出现这个报错,需要怎么处理
来源:5-5 运行项目到 微信开发者工具

慕头不大
2023-04-21
11:49:10.347 Module build failed (from ./node_modules/@dcloudio/webpack-uni-mp-loader/lib/main.js):
11:49:10.351 语法错误: ‘return’ outside of function. (16:4)
11:49:10.354 at main.js:16
11:49:10.357 ERROR Build failed with errors
写回答
1回答
-
Sunday
2023-04-21
你好
这个错误的意思是,在 main.js 的第 16 行,return 必须写在函数里面
00
相似问题