Переглянути джерело

fix: 删除部分警告体视

nobody 2 роки тому
батько
коміт
c24f200428

+ 2 - 3
src/module/datasource/component/DataTableStruct.jsx

@@ -1,6 +1,5 @@
-import React, { useEffect, useState } from "react";
-import { message, Table } from "antd";
-import { getTableSchema } from '../services'
+import React from "react";
+import { Table } from "antd";
 import styled from 'styled-components'
 
 const DataTable = styled.div`

+ 2 - 2
src/module/datasource/component/SyncTaskAdd.jsx

@@ -8,7 +8,6 @@ import DataTableStruct from './DataTableStruct'
 import styled from 'styled-components'
 import { MenuFoldOutlined, MenuUnfoldOutlined } from '@ant-design/icons'
 import { getDataSourceList, getTableSchema } from '../services'
-import { useForm } from 'antd/es/form/Form'
 
 const { Step } = Steps
 
@@ -170,7 +169,8 @@ export default function SyncTaskAdd() {
 
   // 构建表单
   const build = () => {
-    finishBuild()
+    console.log('loadDataForm.getFieldsValue()', loadDataForm.getFieldValue());
+    // finishBuild()
   }
 
   // 完成提交