您即将离开腾讯云开发者社区,请注意您的账号财产安全
https://stackoverflow.com/questions/27928296/reactjs-how-to-pass-the-initial-state-while-rendering-a-component
继续访问