Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大佬 #18

Open
9527xsg opened this issue Jul 7, 2022 · 1 comment
Open

大佬 #18

9527xsg opened this issue Jul 7, 2022 · 1 comment

Comments

@9527xsg
Copy link

9527xsg commented Jul 7, 2022

大佬 我把项目的文件全部复制到一个新的文件,为什么出现
Failed to compile.
./src/routes/Login/index.js
Syntax error: Unexpected token (24:0)

22 |
23 |

24 | @withRouter @Inject('appStore') @observer
| ^
25 | class Login extends React.Component {
26 | state = {
27 | showBox: 'login', //展示当前表单
截屏2022-07-07 16 51 21的副本

在原文件可以跑起来

@longgb246
Copy link

有解决这个问题吗,同样遇到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants