lanjianrong 3 tahun lalu
induk
melakukan
17fc8d3d26
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      src/pages/Schema/Budget/index.tsx

+ 2 - 3
src/pages/Schema/Budget/index.tsx

@@ -29,8 +29,7 @@ type iState = {
 const Budget = () => {
   const [state, setState] = useState<iState>({
     menuData: [],
-    activeID: null,
-    modalVisible: false
+    activeID: null
   })
   const { run: tryFetchTemplateList } = useRequest(queryTemplateList, {
     onSuccess: (result: API.TemplateListItem) => {
@@ -73,7 +72,7 @@ const Budget = () => {
         <div className="w-6/7 ml-8 bg-white p-4  rounded-20px shadow-hex-3e2c5a relative">
           <div className="w-600px">
             <Form form={form} labelCol={8}>
-              <SchemaField schema={schema} />
+              <SchemaField />
             </Form>
           </div>
         </div>