lsc 3 days ago
parent
commit
488e7ad45d
4 changed files with 5 additions and 3 deletions
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.cfae01f5.js
  4. 4 2
      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.cfae01f5.js


+ 4 - 2
src/permission.js

@@ -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 {

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