refactor: default first value
This commit is contained in:
parent
75bd6eed67
commit
b5e942e71a
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ withDefaults(
|
||||||
:label="$t('duty.cost')"
|
:label="$t('duty.cost')"
|
||||||
:readonly
|
:readonly
|
||||||
:hide-dropdown-icon="readonly"
|
:hide-dropdown-icon="readonly"
|
||||||
:model-value="dutyCost || 0"
|
:model-value="dutyCost || options.at(0) || 0"
|
||||||
@update:model-value="(value) => (dutyCost = value)"
|
@update:model-value="(value) => (dutyCost = value)"
|
||||||
v-if="!readonly || duty"
|
v-if="!readonly || duty"
|
||||||
class="col"
|
class="col"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue