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

fix(h5): reLaunch

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