提交 a4127b3d 编写于 作者: fxy060608's avatar fxy060608

fix(h5): keep-alive

上级 a00ed76c
......@@ -81,7 +81,7 @@ function beforeEach (to, from, next, routes) {
if (toId === fromId && to.type !== 'reLaunch') { // 相同页面阻止
// 处理外部修改 history 导致卡在当前页面的问题
if (to.fullPath !== from.fullPath) {
removeKeepAliveInclude.call(this, toName)
addKeepAliveInclude.call(this, toName)
next()
} else {
next(false)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册