Commit fe819f199feb930601ea636095a9b2a42dafffe3

Authored by xp.Huang
2 parents 1b2f1b00 f8a856dc

Merge branch 'fix/register-address-input-component-build-error' into 'main_dev'

fix: 修复registerAddressInput打包报错

See merge request yunteng/thingskit-front!758
... ... @@ -7,6 +7,7 @@
7 7 DEC = 'DEC',
8 8 HEX = 'HEX',
9 9 }
  10 +
10 11 const emit = defineEmits(['update:value']);
11 12
12 13 const props = withDefaults(
... ... @@ -15,12 +16,12 @@
15 16 disabled?: boolean;
16 17 maxValue?: number | string;
17 18 minValue?: number | string;
18   - type?: AddressTypeEnum;
  19 + type?: string;
19 20 toUpperCase?: boolean;
20 21 }>(),
21 22 {
22 23 inputProps: () => ({}),
23   - type: AddressTypeEnum.DEC,
  24 + type: 'DEC',
24 25 maxValue: parseInt('FFFF', 16),
25 26 minValue: 0,
26 27 toUpperCase: true,
... ...