技术就餐

导航

2021年11月11日 #

终止h5页面跳转返回刷新,利用路由缓存,找准缓存清除时机

摘要: //清除缓存页面路由缓存 beforeRouteLeave(to, from, next) { if (to.path == "/myselfPlan" && this.$vnode.parent) { this.$vnode.parent.componentInstance.cache={} th 阅读全文

posted @ 2021-11-11 11:41 技术就餐 阅读(305) 评论(0) 推荐(0) 编辑