Selaa lähdekoodia

Merge branch 'develop'

xjj 2 vuotta sitten
vanhempi
commit
a36d3fb2f9
1 muutettua tiedostoa jossa 5 lisäystä ja 5 poistoa
  1. 5 5
      src/pages/Flow/List.js

+ 5 - 5
src/pages/Flow/List.js

@@ -72,11 +72,11 @@ function List(props) {
         <Button type="primary" style={{ marginRight: 20 }} onClick={() => setVisible(true)}>
           新增工作流
         </Button>
-        {/* {(permission['func-01-point-bom-flow'] || currentUser.IsSuper) && ( */}
-        <Link to="/home/audit-list">
-          <Button type="primary">审批流管理</Button>
-        </Link>
-        {/* )} */}
+        {(permission['func-01-point-bom-flow'] || currentUser.IsSuper) && (
+          <Link to="/home/audit-list">
+            <Button type="primary">审批流管理</Button>
+          </Link>
+        )}
       </div>
 
       <Table rowKey="Id" dataSource={list} columns={columns} />