Blame view

index.tsx 824 Bytes
c9a263f8   王强   init
1
  import React from "react";
86107778   王强   fix
2
  import { Card, ConfigProvider } from 'antd';
c9a263f8   王强   init
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  import zhCN from "antd/lib/locale-provider/zh_CN";
  import { PageHeaderWrapper } from "@ant-design/pro-layout";
  import { createStore } from "@/hooks/moz";
  import store from './store';
  import Filter from './components/Filter';
  import List from './components/List';
  import Modal from './components/Modal';
  
  export const { Provider, useStore } = createStore(store);
  
  export default () => <Provider><<feewee>替换name</feewee> /></Provider>;
  
  function <feewee>替换name</feewee>() {
    return (
      <PageHeaderWrapper title="不购买商业险白名单">
        <ConfigProvider locale={zhCN}>
          <Card bordered={false}>
            <Filter />
            <List />
            <Modal />
          </Card>
        </ConfigProvider>
      </PageHeaderWrapper>
    );
  }