Prechádzať zdrojové kódy

feta 修改页面内容

Young 4 mesiacov pred
rodič
commit
29185a9b42
1 zmenil súbory, kde vykonal 0 pridanie a 11 odobranie
  1. 0 11
      src/pages/Settings/Menu.tsx

+ 0 - 11
src/pages/Settings/Menu.tsx

@@ -65,17 +65,6 @@ const Edit: React.FC<{ bundle: EditBundle;  onSuccess?: () => void }> = (props)
 
   const [form] = ProForm.useForm<MenuVO>();
   const [loading, setLoading] = React.useState(false);
-
-  const [value, setValue] = useState<string>();
-
-  const onChange = (newValue: string) => {
-    console.log(newValue);
-    setValue(newValue);
-  };
-
-  // @ts-ignore
-  // @ts-ignore
-  // @ts-ignore
   return (
     <Modal
       confirmLoading={loading}