import statement may only appear at the top level?
发布于 4 年前 作者 etao 8948 次浏览 来自 官方Issues

在开发者工具上一切正常,但是生成真机预览或调试时会报这个错。

1 回复

你好,哪个版本的工具呢?提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。

回到顶部