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

访问报<Router> may have only one child element错误 #40

Open
TryYyou opened this issue Sep 18, 2017 · 2 comments
Open

访问报<Router> may have only one child element错误 #40

TryYyou opened this issue Sep 18, 2017 · 2 comments

Comments

@TryYyou
Copy link

TryYyou commented Sep 18, 2017

11:40 Uncaught Error: A may have only one child element
at invariant (11:40)
at Router.componentWillMount (95:72)
at eval (412:347)
at measureLifeCyclePerf (412:75)
at ReactCompositeComponentWrapper.performInitialMount (412:346)
at ReactCompositeComponentWrapper.mountComponent (412:257)
at Object.mountComponent (50:45)
at ReactCompositeComponentWrapper.performInitialMount (412:370)
at ReactCompositeComponentWrapper.mountComponent (412:257)
at Object.mountComponent (50:45)

@TryYyou
Copy link
Author

TryYyou commented Sep 18, 2017

已经解决了。 加一层

@zchuhui
Copy link

zchuhui commented Feb 4, 2018

请问是如何解决的呢? @TryYyou

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