Commit 7ca5f8be7cde2de0d2d2d7685009af0ac938ddca
Merge branch 'fix/product-tcp-splitRang' into 'v1.4.0_dev'
fix: 创建产品时截取起止位置添加截取示例 See merge request yunteng/thingskit-front!1354
Showing
2 changed files
with
2 additions
and
1 deletions
| @@ -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 || {}; |