Commit 60b817a907193782ba82a06fa85abc360046474b

Authored by loveumiko
1 parent 1b919b60

fix: 创建产品时截取起止位置添加截取示例

@@ -137,6 +137,7 @@ export const formSchemas = (deviceTypeStr: string): FormSchema[] => { @@ -137,6 +137,7 @@ export const formSchemas = (deviceTypeStr: string): FormSchema[] => {
137 values[FormFieldsEnum.AuthType] === TCPProtocolAccessAuthTypeEnum.DataCombination, 137 values[FormFieldsEnum.AuthType] === TCPProtocolAccessAuthTypeEnum.DataCombination,
138 valueField: 'value', 138 valueField: 'value',
139 changeEvent: 'update:value', 139 changeEvent: 'update:value',
  140 + helpMessage: ['截取示例:"ABCD".substring(0,2) 截取后的值为"AB"'],
140 dynamicRules: ({ values }) => [ 141 dynamicRules: ({ values }) => [
141 { 142 {
142 required: true, 143 required: true,
@@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
18 schemas: formSchemas(serviceType.value), 18 schemas: formSchemas(serviceType.value),
19 showActionButtonGroup: false, 19 showActionButtonGroup: false,
20 layout: 'horizontal', 20 layout: 'horizontal',
21 - labelWidth: 100, 21 + labelWidth: 140,
22 }); 22 });
23 23
24 const { updateSchema } = formActionType || {}; 24 const { updateSchema } = formActionType || {};