lsc 6 天之前
父節點
當前提交
488e7ad45d
共有 4 個文件被更改,包括 5 次插入3 次删除
  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

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


文件差異過大導致無法顯示
+ 1 - 1
dist/report.html


文件差異過大導致無法顯示
+ 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 {

部分文件因文件數量過多而無法顯示