this.$router.push跳轉到當前頁 頁面沒有刷新

在router-view 中加入 key 就行了,由於在路由頁面存在頁面緩存。<router-view :key="this.$route.path"></router-view>