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: { properties: {
modal1: { modal1: {
type: 'void', type: 'void',
title: '权限组', title: '角色',
'x-component': 'Action.Drawer', 'x-component': 'Action.Drawer',
properties: { properties: {
table: { table: {
@ -322,13 +322,13 @@ const schema: ISchema = {
properties: { properties: {
title: { title: {
type: 'string', type: 'string',
title: '权限组名称', title: '角色名称',
'x-component': 'Input', 'x-component': 'Input',
'x-decorator': 'FormilyFormItem', 'x-decorator': 'FormilyFormItem',
}, },
// name: { // name: {
// type: 'string', // type: 'string',
// title: '权限组标识', // title: '角色标识',
// 'x-component': 'Input', // 'x-component': 'Input',
// 'x-decorator': 'FormilyFormItem', // 'x-decorator': 'FormilyFormItem',
// }, // },
@ -340,7 +340,7 @@ const schema: ISchema = {
}, },
column1: { column1: {
type: 'void', type: 'void',
title: '权限组名称', title: '角色名称',
'x-component': 'Table.Column', 'x-component': 'Table.Column',
properties: { properties: {
title: { title: {
@ -352,7 +352,7 @@ const schema: ISchema = {
}, },
// column2: { // column2: {
// type: 'void', // type: 'void',
// title: '权限组标识', // title: '角色标识',
// 'x-component': 'Table.Column', // 'x-component': 'Table.Column',
// properties: { // properties: {
// name: { // name: {
@ -437,7 +437,7 @@ const schema: ISchema = {
properties: { properties: {
[uid()]: { [uid()]: {
type: 'void', type: 'void',
title: '编辑权限组', title: '编辑角色',
'x-decorator': 'Form', 'x-decorator': 'Form',
'x-decorator-props': { 'x-decorator-props': {
useResource: useDetailsResource, useResource: useDetailsResource,
@ -449,7 +449,7 @@ const schema: ISchema = {
properties: { properties: {
title: { title: {
type: 'string', type: 'string',
title: '权限组名称', title: '角色名称',
'x-component': 'Input', 'x-component': 'Input',
'x-decorator': 'FormilyFormItem', 'x-decorator': 'FormilyFormItem',
}, },

View File

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