|
|
@@ -176,9 +176,10 @@ export default {
|
|
|
// // 可以添加其他需要的参数
|
|
|
// timestamp: Date.now().toString()
|
|
|
// }).toString()
|
|
|
- window.location.href = `weixin://dl/business/?appid=wxf8a72764a38a40b2&path=pages/index/index&query=${encodeURIComponent(
|
|
|
- 'url=' + encodeURIComponent(redirect_uri)
|
|
|
- )}`
|
|
|
+ // window.location.href = `weixin://dl/business/?appid=wxf8a72764a38a40b2&path=pages/index/index&query=${encodeURIComponent(
|
|
|
+ // 'url=' + encodeURIComponent(redirect_uri)
|
|
|
+ // )}`
|
|
|
+ window.location.href = decodeURIComponent(redirect_uri)
|
|
|
} else {
|
|
|
window.location.href = decodeURIComponent(redirect_uri)
|
|
|
}
|
|
|
@@ -304,9 +305,10 @@ export default {
|
|
|
// timestamp: Date.now().toString()
|
|
|
// }).toString()
|
|
|
|
|
|
- window.location.href = `weixin://dl/business/?appid=wxf8a72764a38a40b2&path=pages/index/index&query=${encodeURIComponent(
|
|
|
- 'url=' + encodeURIComponent(redirect_uri)
|
|
|
- )}`
|
|
|
+ // window.location.href = `weixin://dl/business/?appid=wxf8a72764a38a40b2&path=pages/index/index&query=${encodeURIComponent(
|
|
|
+ // 'url=' + encodeURIComponent(redirect_uri)
|
|
|
+ // )}`
|
|
|
+ window.location.href = decodeURIComponent(redirect_uri)
|
|
|
} else {
|
|
|
window.location.href = decodeURIComponent(redirect_uri)
|
|
|
}
|