feat: เพิ่ม id ให้ form
This commit is contained in:
parent
0f8ea447f8
commit
555ece125c
8 changed files with 58 additions and 1 deletions
|
|
@ -66,6 +66,7 @@ function close(index: number) {
|
|||
<template>
|
||||
<div class="row no-wrap">
|
||||
<q-btn
|
||||
id="btn-add"
|
||||
class="q-px-lg bordered-b bordered-r app-text-muted"
|
||||
flat
|
||||
:color="$q.dark.isActive ? 'primary' : ''"
|
||||
|
|
@ -86,6 +87,7 @@ function close(index: number) {
|
|||
style="background-color: var(--_body-bg); max-width: 55vw"
|
||||
>
|
||||
<q-tab
|
||||
:id="`tab-branch-${index}`"
|
||||
v-for="(v, index) in customerBranch"
|
||||
:key="index"
|
||||
:name="index"
|
||||
|
|
@ -97,7 +99,7 @@ function close(index: number) {
|
|||
<q-btn
|
||||
round
|
||||
flat
|
||||
id="closeDialog"
|
||||
:id="`close-tab-${index}`"
|
||||
icon="mdi-close"
|
||||
padding="xs"
|
||||
color="red"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue