Procházet zdrojové kódy

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

Pan před 6 roky
rodič
revize
7aef039149
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
     }
   }
 }