lsc 2 dias atrás
pai
commit
5112f20701
4 arquivos alterados com 2 adições e 1 exclusões
  1. 0 0
      dist/index.html
  2. 1 1
      dist/report.html
  3. 0 0
      dist/static/js/app.b13b9026.js
  4. 1 0
      src/permission.js

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/index.html


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
dist/report.html


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.b13b9026.js


+ 1 - 0
src/permission.js

@@ -37,6 +37,7 @@ router.beforeEach(async(to, from, next) => {
   if (hasToken) {
     if (to.path === '/login' || to.path === '/login2') {
       // if is logged in, redirect to the home page
+      store.commit('user/SET_ID', hasToken)
       if(isWeChat == '1'){
         next({ path: '/' })
       }else {

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff