shaogen1995 2 éve
szülő
commit
81eb949783
1 módosított fájl, 11 hozzáadás és 0 törlés
  1. 11 0
      src/components/ObjectAdd/index.tsx

+ 11 - 0
src/components/ObjectAdd/index.tsx

@@ -190,6 +190,17 @@ function ObjectAdd({ id, colsePage, editId, dirCode }: Props) {
         complete: options7[0].name ? options7[0].name : null,
         dictCheckInScope: options9[0].name ? options9[0].name : null,
       });
+      // 初始化附件仓库信息
+      dispatch({
+        type: "login/setFileData",
+        payload: {
+          img: [],
+          video: [],
+          audio: [],
+          model: [],
+          doc: [],
+        },
+      });
     }
   }, [
     dispatch,