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

Smart组件 CommentInput setState 不更新(刷新不会把localStorage取出的用户名传给Dump组件CommentInput #5

Open
dielangsea opened this issue May 4, 2018 · 0 comments

Comments

@dielangsea
Copy link

不知道为什么我这边的CommentInput从localStorage获取出来的username无法更新当前的state,现在是直接在初始化的时候从localStore取得赋值给state.username

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