技术就餐

导航

11 2021 档案

终止h5页面跳转返回刷新,利用路由缓存,找准缓存清除时机
摘要://清除缓存页面路由缓存 beforeRouteLeave(to, from, next) { if (to.path == "/myselfPlan" && this.$vnode.parent) { this.$vnode.parent.componentInstance.cache={} th 阅读全文

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