Using the export keyword...
如下解题办法:
错误描述:
Using the export keyword between a decorator and a class is not allowed. Please use export @dec c...
解决办法:
.eslintrc.js 中增加如下配置
parserOptions: {
parser: 'babel-eslint',
"ecmaFeatures": {
"legacyDecorators": true // 主要是这个选项
}
}