修改请求地址和登录验证码失败错误提醒接收参数
This commit is contained in:
parent
96196e289b
commit
9a6a4b4c1d
|
|
@ -15,7 +15,8 @@ const http = axios.create({
|
|||
|
||||
// const requestURl = "http://localhost:8100/czg/";
|
||||
// const requestURl = "https://web-api.hnsiyao.cn/czg/";//测试
|
||||
const requestURl = "https://web.hnsiyao.cn/czg/";//正式
|
||||
// const requestURl = "https://web.hnsiyao.cn/czg/";//正式
|
||||
const requestURl = "http://192.168.1.31:8080/admin/";//php
|
||||
|
||||
/**
|
||||
* 请求拦截
|
||||
|
|
|
|||
|
|
@ -251,7 +251,7 @@ export default {
|
|||
// this.$router.replace({ name: "home" });
|
||||
} else {
|
||||
// this.getCaptcha();
|
||||
this.$message.error(data.msg);
|
||||
this.$message.error(data.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -277,7 +277,7 @@ export default {
|
|||
this.$router.replace({ name: "home" });
|
||||
} else {
|
||||
this.getCaptcha();
|
||||
this.$message.error(data.msg);
|
||||
this.$message.error(data.message);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue