Commit 8b0477d9ae89c4052ec76b3bb9e52ba063470378

Authored by wuxw
1 parent a00c264f

演示环境 发布bug 修复版

Showing 1 changed file with 1 additions and 1 deletions
src/api/user/loginApi.js
... ... @@ -16,7 +16,7 @@ export function login(data) {
16 16 reject(res.msg || '登录失败')
17 17 }
18 18 }).catch(error => {
19   - reject(error)
  19 + reject(error.response.data)
20 20 })
21 21 })
22 22 }
... ...