Commit f8a856dcf9ea899940f665e8b8c74146abee35e1

Authored by ww
1 parent 1b2f1b00

fix: 修复registerAddressInput打包报错

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