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

This commit is contained in:
morrxy 2020-06-26 18:40:32 +08:00 committed by GitHub
parent cd8d52bfbd
commit c9cb7db3ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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