Explorar o código

perf: use $route.path to the router-view key

Pan %!s(int64=6) %!d(string=hai) anos
pai
achega
7aef039149
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/layout/components/AppMain.vue

+ 1 - 1
src/layout/components/AppMain.vue

@@ -11,7 +11,7 @@ export default {
   name: 'AppMain',
   computed: {
     key() {
-      return this.$route.fullPath
+      return this.$route.path
     }
   }
 }