From 97f692e3c1cfecfecd4ef0f4c60c608914f6140e Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Thu, 25 Jan 2024 22:25:38 +0800 Subject: [PATCH] refactor: refactor dataSource manager --- .../plugin-data-source-manager/src/client/schema/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 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 8839f135e6..38be24e996 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 @@ -7,7 +7,7 @@ const collection = { fields: [ { type: 'string', - name: 'name', + name: 'key', interface: 'input', uiSchema: { title: `{{t("Data source name",{ ns: "${NAMESPACE}" })}}`, @@ -18,7 +18,7 @@ const collection = { }, { type: 'string', - name: 'description', + name: 'displayName', interface: 'input', uiSchema: { title: `{{t("Description",{ ns: "${NAMESPACE}" })}}`, @@ -29,7 +29,7 @@ const collection = { }, { type: 'string', - name: 'dialect', + name: 'type', interface: 'select', uiSchema: { title: `{{t("type", { ns: "${NAMESPACE}" })}}`,