Commit 4aa3e4ae by 潘琦

页面被微信篡改后新连接跳转;

parent a49d4901
...@@ -162,7 +162,7 @@ const redirectUrl = () => { ...@@ -162,7 +162,7 @@ const redirectUrl = () => {
let newUrl = curUrl.replace('?scene=0', '') let newUrl = curUrl.replace('?scene=0', '')
window.location.href = newUrl window.location.href = newUrl
return false return false
} else if (curUrl.indexOf('/voucher/?')) { } else if (curUrl.indexOf('/voucher/?') >= 0) {
const urlArr = curUrl.split('/voucher/?') const urlArr = curUrl.split('/voucher/?')
const locationStr = urlArr[0] const locationStr = urlArr[0]
const pathArr = urlArr[1].split('#') const pathArr = urlArr[1].split('#')
......
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