summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-08-15 10:38:53 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-08-15 10:38:53 +0300
commit4691ec046b121c6b30c9392ecf429c913a0551d3 (patch)
tree46ecbc66d12bac59905902075ad955fbbf102d50
parentdb29a8672f6737a3b112b22db53fae3366c67097 (diff)
downloadwebui-vue-4691ec046b121c6b30c9392ecf429c913a0551d3.tar.xz
fix key
-rw-r--r--src/App.vue2
-rw-r--r--src/layouts/_sila/AppLayout.vue2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/App.vue b/src/App.vue
index 9b51aa72..d2878946 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,6 +1,6 @@
<template>
<div id="app">
- <router-view :key="$route.fullPath" />
+ <router-view />
</div>
</template>
diff --git a/src/layouts/_sila/AppLayout.vue b/src/layouts/_sila/AppLayout.vue
index 1c9c39c7..65e1d5ec 100644
--- a/src/layouts/_sila/AppLayout.vue
+++ b/src/layouts/_sila/AppLayout.vue
@@ -8,7 +8,7 @@
/>
<app-navigation class="app-navigation" />
<page-container class="app-content">
- <router-view ref="routerView" :key="routerKey" />
+ <router-view ref="routerView" :key="$route.fullPath" />
<!-- Scroll to top button -->
<button-back-to-top />
</page-container>