Commit cf7017e5 authored by 郭志伟's avatar 郭志伟

fix: 订单详情页付款跳转修复

parent a995d3d9
...@@ -168,7 +168,7 @@ export default { ...@@ -168,7 +168,7 @@ export default {
} }
}, },
beforeRouteLeave(from, to, next) { beforeRouteLeave(from, to, next) {
if (isBack() || from.path.indexOf('pay') > -1) { if (isBack() || ['/payFail', '/paySuccess', '/payWaiting'].indexOf(from.path) > -1) {
window.location.href = window.location.origin; window.location.href = window.location.origin;
} else { } else {
next(); next();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment