Commit c70e59aeceabebbb37e5f3e6743b5a5dd542a34d

Authored by ww
1 parent edd03aca

feat: 物模型拓展描述符新增缩放因子字段

... ... @@ -6,6 +6,7 @@ export enum FormFieldsEnum {
6 6 REGISTER_ADDRESS = 'registerAddress',
7 7 DATA_TYPE = 'dataType',
8 8 ACTION_TYPE = 'actionType',
  9 + ZOOM_FACTOR = 'zoomFactor',
9 10 }
10 11
11 12 export const formSchemas: FormSchema[] = [
... ... @@ -52,4 +53,15 @@ export const formSchemas: FormSchema[] = [
52 53 getPopupContainer: () => document.body,
53 54 },
54 55 },
  56 + {
  57 + field: FormFieldsEnum.ZOOM_FACTOR,
  58 + component: 'InputNumber',
  59 + label: '缩放因子',
  60 + helpMessage: ['缩放因子不能为0,默认为1'],
  61 + defaultValue: 1,
  62 + componentProps: {
  63 + min: 1,
  64 + placeholder: '请输入缩放因子',
  65 + },
  66 + },
55 67 ];
... ...