text: import React from 'react';
  import ReactDOM from 'react-dom';
  import 'antd/dist/antd.css';
  import './assets/css/index.css';
  import './event-bus' // load events
  import App from './App';
  import {Provider} from 'react-redux';
  import store from './store/reducers';    // redux-thunk
  // import store from './storeSaga/reducers';    // redux-saga
  import { ConfigProvider } from 'antd';
  import zhCN from 'antd/es/locale/zh_CN';  // 引入中文包
  import * as serviceWorker from './serviceWorker';
  // import { ConfigProvider } from 'antd';
  
  function Root(){
    return (
      <ConfigProvider locale={zhCN}>
        <Provider store={store}>
          <App />
        </Provider>
      </ConfigProvider>
    )
  }
  
  ReactDOM.render(
    // <React.StrictMode>
    // </React.StrictMode>
    <Root />,
    document.getElementById('root')
  );
  
  // If you want your app to work offline and load faster, you can change
  // unregister() to register() below. Note this comes with some pitfalls.
  // Learn more about service workers: https://bit.ly/CRA-PWA
  serviceWorker.unregister();
  