|
|
@@ -72,9 +72,9 @@ router.beforeEach(async(to, from, next) => {
|
|
|
const isApp = to.query.isApp ? to.query.isApp : '2'
|
|
|
if (isApp === '2' && redirect_uri) {
|
|
|
// window.location.href = `weixin://dl/business/?appid=wxf8a72764a38a40b2&path=pages/index/index&query=${redirect_uri}`
|
|
|
- window.location.href = decodeURIComponent(redirect_uri)
|
|
|
+ window.location.href = decodeURIComponent(to.query.url)
|
|
|
} else if (redirect_uri) {
|
|
|
- window.location.href = decodeURIComponent(redirect_uri)
|
|
|
+ window.location.href = decodeURIComponent(to.query.url)
|
|
|
} else {
|
|
|
next({ path: '/appStoreCopy' })
|
|
|
}
|