摘要: 首先在APP.VUE中的data定义一个变量, isRouterAlive: true, 然后给routerview加上v-if属性 <router-view v-if="isRouterAlive"></router-view> 再在methods里加上刷新的方法, reload () { thi 阅读全文
posted @ 2022-03-01 14:17 隐形的喷火龙 阅读(542) 评论(0) 推荐(0)