Browse Source

perf[getInfo]:stop run after reject (#599)

morrxy 4 years ago
parent
commit
c9cb7db3ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/store/modules/user.js

+ 1 - 1
src/store/modules/user.js

@@ -50,7 +50,7 @@ const actions = {
50
         const { data } = response
50
         const { data } = response
51
 
51
 
52
         if (!data) {
52
         if (!data) {
53
-          reject('Verification failed, please Login again.')
53
+          return reject('Verification failed, please Login again.')
54
         }
54
         }
55
 
55
 
56
         const { name, avatar } = data
56
         const { name, avatar } = data