0
0
Fork 0

perf: refs #7346 #7346 use v-show instead v-if

This commit is contained in:
Javier Segarra 2024-11-14 11:54:04 +01:00
parent aa05b4b0cb
commit 5af494e13c
1 changed files with 5 additions and 2 deletions

View File

@ -233,13 +233,16 @@ watchEffect(selectedRows);
/>
<VnInput
v-if="selectedOption === 'ticket'"
v-show="selectedOption === 'ticket'"
v-model="data.ticketFk"
:label="t('globals.ticket')"
style="flex: 1"
/>
<div class="row q-col-gutter-xs q-ml-none" v-else>
<div
class="row q-col-gutter-xs q-ml-none"
v-show="selectedOption !== 'ticket'"
>
<div class="col">
<VnSelect
v-model="data.clientFk"