async handleLogin() {
const res = await this.$http.post('login',this.formdata)
const {
data,
meta: {msg,status }
} = res.data
if (status === 200 {
} else {
}
vue-简化登录请求代码async&await
猜你喜欢
转载自blog.csdn.net/weixin_43755104/article/details/107532887
今日推荐
周排行