Commit 7ca5f8be7cde2de0d2d2d7685009af0ac938ddca

Authored by xp.Huang
2 parents 1b919b60 60b817a9

Merge branch 'fix/product-tcp-splitRang' into 'v1.4.0_dev'

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

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