标签: reactjs
我一直在寻找方法getInitialProps,但是没有运气。我试图使组件异步,但出现错误
getInitialProps
Invariant Violation: Objects are not valid as a React child (found: [object Promise]). If you meant to render a collection of children, use an array instead.