fix: targetkey & source key

This commit is contained in:
katherinehhh 2024-02-04 13:30:22 +08:00
parent e4e2a3813e
commit c1215ec29d
4 changed files with 8 additions and 8 deletions

View File

@ -389,7 +389,7 @@ export class M2MFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
sourceKey: {
type: 'void',
type: 'string',
title: '{{t("Source key")}}',
'x-decorator': 'FormItem',
'x-component': 'SourceKey',
@ -454,7 +454,7 @@ export class M2MFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
targetKey: {
type: 'void',
type: 'string',
title: '{{t("Target key")}}',
'x-decorator': 'FormItem',
'x-component': 'TargetKey',

View File

@ -319,7 +319,7 @@ export class M2OFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
targetKey: {
type: 'void',
type: 'string',
title: '{{t("Target key")}}',
'x-decorator': 'FormItem',
'x-component': 'TargetKey',

View File

@ -323,7 +323,7 @@ export class O2MFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
sourceKey: {
type: 'void',
type: 'string',
title: '{{t("Source key")}}',
default: 'id',
enum: [{ label: 'ID', value: 'id' }],
@ -366,7 +366,7 @@ export class O2MFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
targetKey: {
type: 'void',
type: 'string',
title: '{{t("Target key")}}',
'x-decorator': 'FormItem',
'x-component': 'TargetKey',

View File

@ -646,7 +646,7 @@ export class O2OFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
sourceKey: {
type: 'void',
type: 'string',
title: '{{t("Source key")}}',
'x-decorator': 'FormItem',
'x-component': 'SourceKey',
@ -825,7 +825,7 @@ export class OHOFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
sourceKey: {
type: 'void',
type: 'string',
title: '{{t("Source key")}}',
'x-decorator': 'FormItem',
'x-component': 'SourceKey',
@ -1018,7 +1018,7 @@ export class OBOFieldInterface extends CollectionFieldInterface {
'x-component': 'Grid.Col',
properties: {
targetKey: {
type: 'void',
type: 'string',
title: '{{t("Target key")}}',
'x-decorator': 'FormItem',
'x-component': 'TargetKey',