mirror of
https://github.com/frappe/books.git
synced 2024-12-23 11:29:03 +00:00
fix: Cache router-view on route.path
This commit is contained in:
parent
83ce1cf5a8
commit
5f60740acc
@ -2,8 +2,8 @@
|
|||||||
<div class="flex">
|
<div class="flex">
|
||||||
<Sidebar class="w-56 flex-shrink-0" />
|
<Sidebar class="w-56 flex-shrink-0" />
|
||||||
<div class="flex flex-1 overflow-y-hidden bg-white">
|
<div class="flex flex-1 overflow-y-hidden bg-white">
|
||||||
<keep-alive include="InvoiceForm">
|
<keep-alive>
|
||||||
<router-view class="flex-1" :key="$route.fullPath" />
|
<router-view class="flex-1" :key="$route.path" />
|
||||||
</keep-alive>
|
</keep-alive>
|
||||||
<div class="flex" v-if="showQuickEdit">
|
<div class="flex" v-if="showQuickEdit">
|
||||||
<keep-alive>
|
<keep-alive>
|
||||||
|
Loading…
Reference in New Issue
Block a user