Explorar o código

删除冗余代码

Renxy %!s(int64=2) %!d(string=hai) anos
pai
achega
9e5f3e974c
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      src/pages/PurchaseAdmin/PurchaseList/Detail/Index.js

+ 6 - 6
src/pages/PurchaseAdmin/PurchaseList/Detail/Index.js

@@ -972,12 +972,12 @@ function Detail(props) {
     dispatch({
       type: 'user/fetchDepV2',
     });
-    dispatch({
-      type: 'detail/queryListParentByUser',
-      payload: {
-        userid: currentUser.DingUserId || getCurrentUser()?.DingUserId,
-      },
-    });
+    // dispatch({
+    //   type: 'detail/queryListParentByUser',
+    //   payload: {
+    //     userid: currentUser.DingUserId || getCurrentUser()?.DingUserId,
+    //   },
+    // });
   }, []);
 
   useEffect(() => {