Explorar el Código

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

morrxy hace 5 años
padre
commit
c9cb7db3ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/store/modules/user.js

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

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