improve text

This commit is contained in:
chenos 2021-08-26 11:11:27 +08:00
parent c74e8f03ad
commit a0fc7a17d1
2 changed files with 8 additions and 8 deletions

View File

@ -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',
},

View File

@ -965,7 +965,7 @@ Menu.DesignableBar = (props) => {
properties: {
roles: {
type: 'array',
title: '允许访问的权限组',
title: '允许访问的角色',
'x-reactions': [
'{{useAsyncDataSource(loadRoles)}}',
],