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

Input 显示不能被使用ref #296

Open
derekzhou2015 opened this issue Jan 12, 2019 · 0 comments
Open

Input 显示不能被使用ref #296

derekzhou2015 opened this issue Jan 12, 2019 · 0 comments

Comments

@derekzhou2015
Copy link

错误信息: Warning: Function components cannot be given refs. Attempts to access this ref will fail.%s%s
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.3",
"react-weui": "^1.1.3",
"weui": "^1.1.0"
代码 如下

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

1 participant