|
@@ -53,10 +53,12 @@ router.beforeEach(async(to, from, next) => {
|
|
// console.log('to', {...to} )
|
|
// console.log('to', {...to} )
|
|
if (userinfo) {
|
|
if (userinfo) {
|
|
console.log(store)
|
|
console.log(store)
|
|
- if (isWeChat === '1') {
|
|
|
|
|
|
+ if (isWeChat === '1' || to.path == 'appStoreCopy') {
|
|
next()
|
|
next()
|
|
- } else {
|
|
|
|
|
|
+ } else if(isWeChat === '2'){
|
|
next('/appStoreCopy')
|
|
next('/appStoreCopy')
|
|
|
|
+ }else{
|
|
|
|
+ next()
|
|
}
|
|
}
|
|
NProgress.done()
|
|
NProgress.done()
|
|
} else {
|
|
} else {
|