Explorar el Código

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

Pan hace 6 años
padre
commit
7aef039149
Se han modificado 1 ficheros con 1 adiciones y 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
     }
   }
 }