摘要: 1. 采用keep-alive实现缓存 2.activated, 初次进入会触发, 浏览器工具栏刷新不会触发,导致页面不刷新 beforeRouteEnter(to, from, next) { next((vm) => { vm.getList() }) } 阅读全文
posted @ 2021-04-19 15:02 Loki-Liu 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-19 14:56 Loki-Liu 阅读(19) 评论(0) 推荐(0) 编辑