From a0fc7a17d1f9f5b1be2fed48c5aed1a5cbecea35 Mon Sep 17 00:00:00 2001 From: chenos Date: Thu, 26 Aug 2021 11:11:27 +0800 Subject: [PATCH] improve text --- .../components/admin-layout/Permissions/index.tsx | 14 +++++++------- packages/client/src/schemas/menu/index.tsx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/client/src/components/admin-layout/Permissions/index.tsx b/packages/client/src/components/admin-layout/Permissions/index.tsx index f41192bba..a3b3b909c 100644 --- a/packages/client/src/components/admin-layout/Permissions/index.tsx +++ b/packages/client/src/components/admin-layout/Permissions/index.tsx @@ -254,7 +254,7 @@ const schema: ISchema = { properties: { modal1: { type: 'void', - title: '权限组', + title: '角色', 'x-component': 'Action.Drawer', properties: { table: { @@ -322,13 +322,13 @@ const schema: ISchema = { properties: { title: { type: 'string', - title: '权限组名称', + title: '角色名称', 'x-component': 'Input', 'x-decorator': 'FormilyFormItem', }, // name: { // type: 'string', - // title: '权限组标识', + // title: '角色标识', // 'x-component': 'Input', // 'x-decorator': 'FormilyFormItem', // }, @@ -340,7 +340,7 @@ const schema: ISchema = { }, column1: { type: 'void', - title: '权限组名称', + title: '角色名称', 'x-component': 'Table.Column', properties: { title: { @@ -352,7 +352,7 @@ const schema: ISchema = { }, // column2: { // type: 'void', - // title: '权限组标识', + // title: '角色标识', // 'x-component': 'Table.Column', // properties: { // name: { @@ -437,7 +437,7 @@ const schema: ISchema = { properties: { [uid()]: { type: 'void', - title: '编辑权限组', + title: '编辑角色', 'x-decorator': 'Form', 'x-decorator-props': { useResource: useDetailsResource, @@ -449,7 +449,7 @@ const schema: ISchema = { properties: { title: { type: 'string', - title: '权限组名称', + title: '角色名称', 'x-component': 'Input', 'x-decorator': 'FormilyFormItem', }, diff --git a/packages/client/src/schemas/menu/index.tsx b/packages/client/src/schemas/menu/index.tsx index b1e7bb29c..bb3251634 100644 --- a/packages/client/src/schemas/menu/index.tsx +++ b/packages/client/src/schemas/menu/index.tsx @@ -965,7 +965,7 @@ Menu.DesignableBar = (props) => { properties: { roles: { type: 'array', - title: '允许访问的权限组', + title: '允许访问的角色', 'x-reactions': [ '{{useAsyncDataSource(loadRoles)}}', ],