refactor: o2o sourceKey should be string

This commit is contained in:
katherinehhh 2024-01-16 15:57:43 +08:00
parent 9ccec69068
commit c2c65f15a1

View File

@ -120,7 +120,7 @@ export const o2o: IField = {
'x-component': 'Grid.Col', 'x-component': 'Grid.Col',
properties: { properties: {
sourceKey: { sourceKey: {
type: 'void', type: 'string',
title: '{{t("Source key")}}', title: '{{t("Source key")}}',
'x-decorator': 'FormItem', 'x-decorator': 'FormItem',
'x-component': 'SourceKey', 'x-component': 'SourceKey',
@ -298,7 +298,7 @@ export const oho: IField = {
'x-component': 'Grid.Col', 'x-component': 'Grid.Col',
properties: { properties: {
sourceKey: { sourceKey: {
type: 'void', type: 'string',
title: '{{t("Source key")}}', title: '{{t("Source key")}}',
'x-decorator': 'FormItem', 'x-decorator': 'FormItem',
'x-component': 'SourceKey', 'x-component': 'SourceKey',