From 50a220c9668102e48aeff26b12eba6628acbc395 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 22 二月 2024 15:22:15 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/system/role/components/scope.jsx |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/zy-asrs-flow/src/pages/system/role/components/scope.jsx b/zy-asrs-flow/src/pages/system/role/components/scope.jsx
index 45c834b..71d7441 100644
--- a/zy-asrs-flow/src/pages/system/role/components/scope.jsx
+++ b/zy-asrs-flow/src/pages/system/role/components/scope.jsx
@@ -3,6 +3,7 @@
     ProForm,
     ProFormDigit,
 } from '@ant-design/pro-components';
+import { DownOutlined } from '@ant-design/icons';
 import { Col, Form, Modal, Row, Checkbox, Skeleton, Tree, Drawer, Space, Button, Card } from 'antd';
 import Http from '@/utils/http';
 import { transformTreeData, getTreeAllKeys } from '@/utils/tree-util'
@@ -58,7 +59,7 @@
     return (
         <>
             <Drawer
-                title={`鍒嗛厤鏉冮檺 - ${name?name:'-'}`}
+                title={`鍒嗛厤鏉冮檺 - ${name ? name : '-'}`}
                 width={640}
                 forceRender
                 destroyOnClose
@@ -94,10 +95,9 @@
 
                         <ProForm.Item
                             name="deptIds"
-                            label="鑿滃崟鏉冮檺"
+                            label="鏉冮檺鑿滃崟"
                             colProps={{ md: 24, xl: 24 }}
                         >
-
                             <Row gutter={[16, 16]}>
                                 <Col md={24}>
                                     <Checkbox.Group
@@ -124,7 +124,10 @@
                                         <Skeleton active />
                                     ) : (
                                         <Tree
+                                            showLine
+                                            blockNode
                                             checkable
+                                            switcherIcon={<DownOutlined />}
                                             treeData={menuTreeData}
                                             expandedKeys={menuExpandedKeys}
                                             onExpand={(expandedKeys) => {
@@ -142,7 +145,6 @@
                                     )}
                                 </Col>
                             </Row>
-
                         </ProForm.Item>
                     </ProForm>
                 </Card>

--
Gitblit v1.9.1