mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-02 04:07:50 +08:00
feat(api-keys): add tooltip for roles (#2567)
* feat(api-keys): add tooltip for roles * feat: improve
This commit is contained in:
parent
9c22aebaff
commit
3bb38b16f3
@ -118,6 +118,9 @@ export const configurationSchema: ISchema = {
|
||||
type: 'string',
|
||||
title: generateNTemplate('Role'),
|
||||
required: true,
|
||||
'x-decorator-props': {
|
||||
tooltip: generateNTemplate('Allow only your own roles to be selected'),
|
||||
},
|
||||
'x-collection-field': 'apiKeys.role',
|
||||
'x-component': 'CollectionField',
|
||||
'x-decorator': 'FormItem',
|
||||
|
@ -17,6 +17,7 @@ const locale = {
|
||||
'30 Days': '30 天',
|
||||
'90 Days': '90 天',
|
||||
'Role not found': '角色不存在',
|
||||
'Allow only your own roles to be selected': '只允许选择你自己拥有的角色',
|
||||
};
|
||||
|
||||
export default locale;
|
||||
|
Loading…
Reference in New Issue
Block a user