From 4f2e4e84fd2cdca1407ac06c1b44319518be39b9 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 21 十二月 2020 19:11:05 +0800
Subject: [PATCH] 2020-12-21

---
 src/menu/components/table/normal-table/columns/index.jsx |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/menu/components/table/normal-table/columns/index.jsx b/src/menu/components/table/normal-table/columns/index.jsx
index 944cf5b..093fb0d 100644
--- a/src/menu/components/table/normal-table/columns/index.jsx
+++ b/src/menu/components/table/normal-table/columns/index.jsx
@@ -2,7 +2,7 @@
 import PropTypes from 'prop-types'
 import { is, fromJS } from 'immutable'
 import { DndProvider, DragSource, DropTarget } from 'react-dnd'
-import { Table, Form, Popover, Icon, Modal, message } from 'antd'
+import { Table, Popover, Icon, Modal, message } from 'antd'
 
 import asyncComponent from '@/utils/asyncComponent'
 import asyncIconComponent from '@/utils/asyncIconComponent'
@@ -117,7 +117,7 @@
   }))(HeaderCol),
 )
 
-class EditableCell extends Component {
+class EditableColumnCell extends Component {
   updateCard = (vals, action) => {
     const { column } = this.props
     this.props.upComponent({...column, elements: vals}, action)
@@ -166,7 +166,7 @@
   }
 }
 
-class EditTable extends Component {
+class NormalTableColumns extends Component {
   static propTpyes = {
     config: PropTypes.object,       // 閰嶇疆淇℃伅
     updatecolumn: PropTypes.func    // 鏁版嵁鍙樺寲
@@ -395,7 +395,7 @@
         cell: DragableHeaderCol
       },
       body: {
-        cell: EditableCell
+        cell: EditableColumnCell
       }
     }
 
@@ -476,4 +476,4 @@
   }
 }
 
-export default Form.create()(EditTable)
\ No newline at end of file
+export default NormalTableColumns
\ No newline at end of file

--
Gitblit v1.8.0