소스 검색

fix: #9447 用户管理 修复新增弹窗按钮权限问题

jackhoo_98 3 년 전
부모
커밋
662f557815
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/system/User/Save/index.tsx

+ 1 - 1
src/pages/system/User/Save/index.tsx

@@ -486,7 +486,7 @@ const Save = (props: Props) => {
       onOk={save}
       width="35vw"
       permissionCode={'system/User'}
-      permission={['update']}
+      permission={['update', 'add']}
     >
       <Form form={form} layout="vertical">
         <SchemaField schema={schema} scope={{ useAsyncDataSource, getRole, getOrg }} />