refactor: go back search
This commit is contained in:
parent
771dbe8f4c
commit
1f4129a1b9
1 changed files with 4 additions and 4 deletions
|
|
@ -95,14 +95,14 @@ onMounted(getCabinet)
|
||||||
flat
|
flat
|
||||||
dense
|
dense
|
||||||
class="q-mr-sm q-px-sm"
|
class="q-mr-sm q-px-sm"
|
||||||
v-if="currentDept > 0 && isSearch === false"
|
v-if="isSearch == true || currentDept > 0"
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
folderFormState = false
|
isSearch
|
||||||
gotoParent()
|
? (isSearch = false)
|
||||||
|
: ((folderFormState = false), gotoParent())
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
id="btnGoback"
|
|
||||||
>
|
>
|
||||||
<q-icon name="arrow_back" size="1rem" color="primary" />
|
<q-icon name="arrow_back" size="1rem" color="primary" />
|
||||||
</q-btn>
|
</q-btn>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue