Commit 412620f6d00b61e7313e9834f77f775ccc4fc4d5

Authored by fengtao
1 parent fd2c5c0a

pref:优化字段

@@ -185,9 +185,10 @@ export const modeKafkaForm: FormSchema[] = [ @@ -185,9 +185,10 @@ export const modeKafkaForm: FormSchema[] = [
185 }, 185 },
186 { 186 {
187 field: 'otherProperties', 187 field: 'otherProperties',
188 - label: '其他属性(不可重复)', 188 + label: '其他属性',
189 colProps: { span: 24 }, 189 colProps: { span: 24 },
190 component: 'JAddInput', 190 component: 'JAddInput',
  191 + subLabel: '不可重复',
191 }, 192 },
192 { 193 {
193 field: 'addMetadataKeyValuesAsKafkaHeaders', 194 field: 'addMetadataKeyValuesAsKafkaHeaders',
@@ -539,7 +540,7 @@ export const modeRabbitMqForm: FormSchema[] = [ @@ -539,7 +540,7 @@ export const modeRabbitMqForm: FormSchema[] = [
539 }, 540 },
540 { 541 {
541 field: 'virtualHost', 542 field: 'virtualHost',
542 - label: '虚拟端口', 543 + label: '虚拟端口(以/开头)',
543 colProps: { span: 12 }, 544 colProps: { span: 12 },
544 component: 'Input', 545 component: 'Input',
545 defaultValue: '/', 546 defaultValue: '/',
@@ -601,9 +602,10 @@ export const modeRabbitMqForm: FormSchema[] = [ @@ -601,9 +602,10 @@ export const modeRabbitMqForm: FormSchema[] = [
601 }, 602 },
602 { 603 {
603 field: 'clientProperties', 604 field: 'clientProperties',
604 - label: '客户端属性(不可重复)', 605 + label: '客户端属性',
605 colProps: { span: 24 }, 606 colProps: { span: 24 },
606 component: 'JAddInput', 607 component: 'JAddInput',
  608 + subLabel: '不可重复',
607 }, 609 },
608 { 610 {
609 field: 'description', 611 field: 'description',
@@ -814,10 +816,11 @@ export const modeApiForm: FormSchema[] = [ @@ -814,10 +816,11 @@ export const modeApiForm: FormSchema[] = [
814 }, 816 },
815 { 817 {
816 field: 'headers', 818 field: 'headers',
817 - label: 'Headers(不可重复)', 819 + label: 'Headers',
818 colProps: { span: 24 }, 820 colProps: { span: 24 },
819 defaultValue: { 'Content-Type': 'application/json' }, 821 defaultValue: { 'Content-Type': 'application/json' },
820 component: 'JAddInput', 822 component: 'JAddInput',
  823 + subLabel: '不可重复',
821 }, 824 },
822 825
823 { 826 {