BlackGan

Results 15 comments of BlackGan

I ran into the same problem

辛苦上传下可复现的demo吧,我们这用windows电脑按照你的描述步骤没复现报错

antd-mini 中的sjs存在 export xxx 的语法,框架对这块的处理有些问题,正在修复中哈,修复后第一时间通知

可以参照次demo来进行问题规避 首先配置Loading组件index.sjs文件的 alias 到项目src中的index.sjs ![image](https://user-images.githubusercontent.com/18080281/203680442-53d525ad-b349-4dba-85b6-38bea33eafa6.png) 在本地修改 sjs 文件中的导出方式为 export default ![image](https://user-images.githubusercontent.com/18080281/203680558-9954aa49-a8b1-4a44-b5a6-8550c8c9eaea.png) 如此,即可正常运行,其他跨平台编译的判断还保持你的项目配置就行。 [mpx-antd-mini.zip](https://github.com/didi/mpx/files/10080360/mpx-antd-mini.zip)

@CyJaySong 可以看下你的小程序开发者工具-详情-本地设置-启用代码自动热重载 是否打开哈

> @Blackgan3 已关闭热重载 你打开和关闭热重载都能复现这个问题吗