outaozhen 3 years ago
parent
commit
2c47ed4031
1 changed files with 1 additions and 1 deletions
  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])
   }, [state.activeID])
 
 
-  const DraggableBodyRow = ({ className, style, ...restProps }) => {
+  const DraggableBodyRow = ({ ...restProps }) => {
     if (state.menuDataItems?.length) {
     if (state.menuDataItems?.length) {
       const index = state.menuDataItems?.findIndex(x => x.index === restProps['data-row-key'])
       const index = state.menuDataItems?.findIndex(x => x.index === restProps['data-row-key'])
       return <SortableItem index={index} {...restProps} />
       return <SortableItem index={index} {...restProps} />