c9a263f8
王强
init
|
1
2
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 React from "react";
import { ConfigProvider } from "antd";
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>
);
}
|