|
|
@@ -1,5 +1,5 @@
|
|
|
import PopContactForm from '@/components/PopContactForm'
|
|
|
-import { PlusOutlined } from '@ant-design/icons'
|
|
|
+// import { PlusOutlined } from '@ant-design/icons'
|
|
|
// import ProTable, { TableDropdown } from '@ant-design/pro-table';
|
|
|
import ProTable from '@ant-design/pro-table'
|
|
|
// import { PageHeaderWrapper } from '@ant-design/pro-layout';
|
|
|
@@ -13,7 +13,7 @@ import SvgIcon from '@/components/SvgIcon'
|
|
|
|
|
|
const Contact = props => {
|
|
|
// let tag = Array.from(tag);
|
|
|
- const [visible, setVisible] = useState(false)
|
|
|
+ const [ visible, setVisible ] = useState(false)
|
|
|
|
|
|
// 展示drawer
|
|
|
const showDrawer = () => {
|
|
|
@@ -218,7 +218,7 @@ const Contact = props => {
|
|
|
// console.log(props);
|
|
|
// console.log(list)
|
|
|
// console.log(dataSource);
|
|
|
- const [columnsStateMap, setColumnsStateMap] = useState({
|
|
|
+ const [ columnsStateMap, setColumnsStateMap ] = useState({
|
|
|
telephone: {
|
|
|
show: false
|
|
|
},
|
|
|
@@ -273,7 +273,7 @@ const Contact = props => {
|
|
|
headerTitle="联系人"
|
|
|
toolBarRender={() => [
|
|
|
<Button key="button" type="primary">
|
|
|
- <SvgIcon type="icon-plus1"></SvgIcon>联系人
|
|
|
+ <SvgIcon type="icon-plus"/>联系人
|
|
|
</Button>
|
|
|
]}
|
|
|
/>
|