refactor:handle btn close tab
Some checks failed
Spelling / Spell Check with Typos (push) Failing after 27s
Some checks failed
Spelling / Spell Check with Typos (push) Failing after 27s
This commit is contained in:
parent
4d7c4964de
commit
c9483465b0
1 changed files with 4 additions and 1 deletions
|
|
@ -1296,7 +1296,10 @@ async function submitAccepted() {
|
||||||
id="btn-close"
|
id="btn-close"
|
||||||
@click="closeTab()"
|
@click="closeTab()"
|
||||||
:label="$t('dialog.action.close')"
|
:label="$t('dialog.action.close')"
|
||||||
v-if="pageState.mode === 'info' && closeAble()"
|
v-if="
|
||||||
|
(pageState.mode === 'info' || pageState.mode === 'create') &&
|
||||||
|
closeAble()
|
||||||
|
"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="row q-gutter-x-sm q-ml-xs">
|
<div class="row q-gutter-x-sm q-ml-xs">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue