當前vue路由組件從新加載

利用v-if控制router-view,在根組件APP.vue中實現一個刷新方法 <template> <router-view v-if="isRouterAlive"/> </template> <script> export default { data () { return { isRouterAlive: true } }, methods: { re
相關文章
相關標籤/搜索