Avoid memory leak by limiting cache size.

This commit is contained in:
FireMasterK 2021-07-07 02:51:13 +05:30
parent c03a9bf2d6
commit da8743b9cb
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -6,7 +6,7 @@
>
<Navigation />
<router-view v-slot="{ Component }">
<keep-alive>
<keep-alive :max="5">
<component :key="$route.fullPath" :is="Component" />
</keep-alive>
</router-view>