Explorar o código

处理地址发生变化但页面不请求数据的问题

reghao %!s(int64=4) %!d(string=hai) anos
pai
achega
743b98b196
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -1,6 +1,6 @@
 <template>
   <v-app>
-    <router-view />
+    <router-view :key="$route.fullPath"/>
   </v-app>
 </template>