报错原因 严格的检查缩进问题,不是报错,我们可以关闭这个检查规则 Expected indentation of 2 spaces but found 4 indent 解决方案 找到以下的文件,添加"indent": [“off”, 2] 在运行项目打包就没问题啦