fix: lsp error

This commit is contained in:
Methapon2001 2024-08-09 10:29:54 +07:00
parent 0194d7efcc
commit a4670dd538

View file

@ -1916,6 +1916,7 @@ watch(
await fetchListCustomer(); await fetchListCustomer();
} }
" "
greedy
:style="{ :style="{
opacity: customerFormState.branchIndex !== -1 ? '0.5' : undefined, opacity: customerFormState.branchIndex !== -1 ? '0.5' : undefined,
}" }"
@ -1973,11 +1974,14 @@ watch(
:disabled="!customerFormState.readonly" :disabled="!customerFormState.readonly"
/> />
</div> </div>
<template
v-for="(_, idx) in customerFormData.customerBranch"
:key="idx"
>
<q-form <q-form
class="full-width" class="full-width"
v-if="customerFormData.customerBranch" v-if="customerFormData.customerBranch"
v-for="(_, idx) in customerFormData.customerBranch" greedy
:key="idx"
@submit.prevent=" @submit.prevent="
async () => { async () => {
if (!customerFormData.customerBranch) return; if (!customerFormData.customerBranch) return;
@ -2036,6 +2040,7 @@ watch(
@save="() => {}" @save="() => {}"
/> />
</q-form> </q-form>
</template>
</div> </div>
</div> </div>
</div> </div>