xujunjie 2 years ago
parent
commit
eafe8f3c8a
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/pages/PurchaseAdmin/PurchaseList/List/NewList.js

+ 2 - 3
src/pages/PurchaseAdmin/PurchaseList/List/NewList.js

@@ -46,9 +46,8 @@ function List(props) {
                 setFlowDetail(data);
                 setFlowDetail(data);
                 setVersion(record);
                 setVersion(record);
                 setFlowVisible(true);
                 setFlowVisible(true);
-              } catch (error) {
-                setLoading2(false);
-              }
+              } catch (error) {}
+              setLoading2(false);
               // router.push(`/home/detail/${record.project_id}/${record.template_id}`);
               // router.push(`/home/detail/${record.project_id}/${record.template_id}`);
             }}
             }}
           >
           >