this.handleLogin({ userName, password }).then(res => {
this.$router.push({
name: 'home'
})
}).catch(error => {
this.status = error.request.status
this.login_false = true
})
请求失败后如何获取请求的内容
最新推荐文章于 2021-02-01 13:56:14 发布