Showing
1 changed file
with
3 additions
and
2 deletions
... | ... | @@ -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, | ... | ... |