outaozhen 5 лет назад
Родитель
Сommit
f515ec0405
2 измененных файлов с 7 добавлено и 7 удалено
  1. 3 3
      src/components/PopContactForm/index.jsx
  2. 4 4
      src/pages/Customer/Contact/index.jsx

+ 3 - 3
src/components/PopContactForm/index.jsx

@@ -42,7 +42,7 @@ const Popcontactform = (props) => {
     journalName: { list }
   } = props
   const journallist = [ ...list ]
-  console.log(journallist)
+  // console.log(journallist)
   const [ form ] = Form.useForm()
   const { TabPane } = Tabs
   // function callback(key) {
@@ -328,8 +328,8 @@ const Popcontactform = (props) => {
                       split={false}
                       renderItem={item => (
                         <List.Item>
-                          <Typography.Text mark />
-                          {item}
+                          {/* <Typography.Text mark /> */}
+                          <a>{item.title}</a>
                         </List.Item>
                       )}
                     />

+ 4 - 4
src/pages/Customer/Contact/index.jsx

@@ -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>
         ]}
       />