mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: type string
This commit is contained in:
parent
27b45e8dae
commit
bdbcca4c83
@ -12,8 +12,8 @@ import { uid } from '@formily/shared';
|
||||
import { useActionContext, useBlockRequestContext, useRecord } from '@nocobase/client';
|
||||
import { Alert, Modal, Space, Typography } from 'antd';
|
||||
import React from 'react';
|
||||
import { generateNTemplate } from '../../locale';
|
||||
import apiKeysCollection from '../../collections/apiKeys';
|
||||
import { generateNTemplate } from '../../locale';
|
||||
import { useTranslation } from '../locale';
|
||||
const { useModal } = Modal;
|
||||
|
||||
@ -200,7 +200,7 @@ export const configurationSchema: ISchema = {
|
||||
title: generateNTemplate('Role'),
|
||||
properties: {
|
||||
role: {
|
||||
type: 'object',
|
||||
type: 'string',
|
||||
'x-collection-field': 'apiKeys.role',
|
||||
'x-component': 'CollectionField',
|
||||
'x-component-props': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user