lsc 3 days ago
parent
commit
1a4c9c7530
4 changed files with 7 additions and 2 deletions
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.a1f3beaf.js
  4. 6 1
      src/permission.js

File diff suppressed because it is too large
+ 0 - 0
dist/index.html


File diff suppressed because it is too large
+ 1 - 1
dist/report.html


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.a1f3beaf.js


+ 6 - 1
src/permission.js

@@ -53,7 +53,12 @@ router.beforeEach(async(to, from, next) => {
       // console.log('to', {...to} )
       if (userinfo) {
         console.log(store)
-        next()
+        if (isWeChat === '1') {
+          next()
+        } else {
+          next('/appStoreCopy')
+        }
+        NProgress.done()
       } else {
         try {
           // 获取用户信息

Some files were not shown because too many files changed in this diff