Merge branch 'oat_dev' into develop
This commit is contained in:
commit
ba3bbd0ea7
1 changed files with 6 additions and 3 deletions
|
|
@ -37,8 +37,11 @@ function addData() {
|
|||
}
|
||||
|
||||
function close(index: number) {
|
||||
console.log(customerBranch.value.length, index);
|
||||
if (customerBranch.value.length - 1 === index) {
|
||||
if (customerBranch.value.length === 1) return;
|
||||
|
||||
if (customerBranch.value.length === index + 1) {
|
||||
tab.value = tab.value - 1;
|
||||
} else if (tab.value >= index) {
|
||||
tab.value = tab.value - 1;
|
||||
}
|
||||
|
||||
|
|
@ -66,7 +69,7 @@ function close(index: number) {
|
|||
:key="index"
|
||||
:name="index"
|
||||
:label="`${$t('customerBranchFormTab')} ${index + 1}`"
|
||||
@click="tab = index"
|
||||
@click="(tab = index), console.log(customerBranch)"
|
||||
no-caps
|
||||
>
|
||||
<q-btn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue