feat: lazy load select options
This commit is contained in:
parent
dee1bab91c
commit
5e206e2432
1 changed files with 3 additions and 1 deletions
|
|
@ -44,6 +44,7 @@ const attributesForm = defineModel<AttributesForm>('attributesForm', {
|
|||
},
|
||||
});
|
||||
|
||||
const isExpand = ref(false);
|
||||
const formData = ref<AttributesForm>(defaultForm);
|
||||
|
||||
function triggerUndo() {
|
||||
|
|
@ -75,6 +76,7 @@ function assignToForm() {
|
|||
<template>
|
||||
<q-expansion-item
|
||||
dense
|
||||
v-model="isExpand"
|
||||
class="overflow-hidden bordered q-my-sm full-width"
|
||||
switch-toggle-side
|
||||
style="border-radius: var(--radius-2)"
|
||||
|
|
@ -111,7 +113,7 @@ function assignToForm() {
|
|||
</nav>
|
||||
</template>
|
||||
|
||||
<main class="row">
|
||||
<main class="row" v-if="isExpand">
|
||||
<section class="col-12">
|
||||
<FormGroupHead>
|
||||
{{ $t('duty.text', { subject: $t('general.customer') }) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue