<Provider rootStore={new RootStore()}> <App /> </Provider> 和注入(inject)组件像这样: @inject('rootStore') @observer class User extends React.
確定! 回上一頁