From 6c98ac2c989258e0e89e1f2433180c7707aaf26a Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Thu, 25 Jan 2024 22:21:22 +0800 Subject: [PATCH] refactor: refactor dataSource manager --- .../src/client/schema/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-data-source-manager/src/client/schema/index.ts b/packages/plugins/@nocobase/plugin-data-source-manager/src/client/schema/index.ts index dcd761f0fa..8839f135e6 100644 --- a/packages/plugins/@nocobase/plugin-data-source-manager/src/client/schema/index.ts +++ b/packages/plugins/@nocobase/plugin-data-source-manager/src/client/schema/index.ts @@ -116,36 +116,36 @@ export const databaseConnectionSchema: ISchema = { useDataSource: '{{ cm.useDataSourceFromRAC }}', }, properties: { - name: { + key: { type: 'void', 'x-decorator': 'Table.Column.Decorator', 'x-component': 'Table.Column', properties: { - name: { + key: { type: 'string', 'x-component': 'CollectionField', 'x-read-pretty': true, }, }, }, - description: { + displayName: { type: 'void', 'x-decorator': 'Table.Column.Decorator', 'x-component': 'Table.Column', properties: { - description: { + displayName: { type: 'string', 'x-component': 'CollectionField', 'x-read-pretty': true, }, }, }, - dialect: { + type: { type: 'void', 'x-decorator': 'Table.Column.Decorator', 'x-component': 'Table.Column', properties: { - dialect: { + type: { type: 'string', 'x-component': 'CollectionField', 'x-read-pretty': true,