shaogen1995 2 年之前
父節點
當前提交
81eb949783
共有 1 個文件被更改,包括 11 次插入0 次删除
  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,