refactor: refactor dataSource manager

This commit is contained in:
katherinehhh 2024-01-25 23:00:42 +08:00
parent 3c6e70f1cb
commit 0bd14bd21d

View File

@ -10,7 +10,7 @@ const collection = {
name: 'key', name: 'key',
interface: 'input', interface: 'input',
uiSchema: { uiSchema: {
title: `{{t("Data source name",{ ns: "${NAMESPACE}" })}}`, title: `{{t("Data source UID",{ ns: "${NAMESPACE}" })}}`,
type: 'string', type: 'string',
'x-component': 'Input', 'x-component': 'Input',
required: true, required: true,
@ -21,7 +21,7 @@ const collection = {
name: 'displayName', name: 'displayName',
interface: 'input', interface: 'input',
uiSchema: { uiSchema: {
title: `{{t("Description",{ ns: "${NAMESPACE}" })}}`, title: `{{t("Data source Title",{ ns: "${NAMESPACE}" })}}`,
type: 'string', type: 'string',
'x-component': 'Input', 'x-component': 'Input',
required: true, required: true,