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