outaozhen 3 年之前
父节点
当前提交
2c47ed4031
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pages/Schema/Option/index.tsx

+ 1 - 1
src/pages/Schema/Option/index.tsx

@@ -179,7 +179,7 @@ const Option = () => {
     }
   }, [state.activeID])
 
-  const DraggableBodyRow = ({ className, style, ...restProps }) => {
+  const DraggableBodyRow = ({ ...restProps }) => {
     if (state.menuDataItems?.length) {
       const index = state.menuDataItems?.findIndex(x => x.index === restProps['data-row-key'])
       return <SortableItem index={index} {...restProps} />