fix: foreignKey

This commit is contained in:
katherinehhh 2024-01-19 15:21:51 +08:00
parent 1d983ccadf
commit cf8c30d435
4 changed files with 7 additions and 7 deletions

View File

@ -409,7 +409,7 @@ export class M2MFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly||override }}',
},
@ -443,7 +443,7 @@ export class M2MFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly||override }}',
},

View File

@ -308,7 +308,7 @@ export class M2OFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly }}',
},

View File

@ -344,7 +344,7 @@ export class O2MFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly }}',
},

View File

@ -665,7 +665,7 @@ export class O2OFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly }}',
},
@ -844,7 +844,7 @@ export class OHOFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly }}',
},
@ -1007,7 +1007,7 @@ export class OBOFieldInterface extends CollectionFieldInterfaceBase {
description:
"{{t('Randomly generated and can be modified. Support letters, numbers and underscores, must start with an letter.')}}",
'x-decorator': 'FormItem',
'x-component': 'Input',
'x-component': 'ForeignKey',
'x-validator': 'uid',
'x-disabled': '{{ !createOnly }}',
},