lsc há 2 anos atrás
pai
commit
92602e5ec8

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/index.html


Diff do ficheiro suprimidas por serem muito extensas
+ 1 - 1
dist/report.html


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.1e66dd9a.js


Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
dist/static/js/app.70003bd1.js


+ 9 - 7
src/store/modules/user.js

@@ -82,14 +82,16 @@ const actions = {
     return new Promise((resolve, reject) => {
       getUser({ userid: state.token })
         .then(response => {
-          const { data } = response
-
-          if (!data) {
-            reject('验证失败,请重新登录。')
-          }
           console.log(response)
-          commit('SET_USERINFO', response.data)
-          resolve(data)
+          // const { data } = response
+
+          // if (!data) {
+          //   reject('验证失败,请重新登录。')
+          // }
+          // console.log(response)
+          // commit('SET_USERINFO', response.data)
+          // resolve(data)
+          resolve()
         })
         .catch(error => {
           reject(error)

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff