Commit f8a856dcf9ea899940f665e8b8c74146abee35e1

Authored by ww
1 parent 1b2f1b00

fix: 修复registerAddressInput打包报错

... ... @@ -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,
... ...