merge
This commit is contained in:
parent
4ae4a6d509
commit
5fb9cf68a3
7 changed files with 50 additions and 86 deletions
|
|
@ -5,6 +5,7 @@
|
|||
:key="unit"
|
||||
type="button"
|
||||
:class="{ active: modelValue === unit }"
|
||||
:disabled="disabled"
|
||||
@click="$emit('update:modelValue', unit)"
|
||||
>
|
||||
{{ unit }}
|
||||
|
|
@ -21,6 +22,10 @@ defineProps({
|
|||
units: {
|
||||
type: Array,
|
||||
default: () => ['mm', 'px']
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue