修改请求地址和登录验证码失败错误提醒接收参数

This commit is contained in:
YeMingfei666 2025-07-25 18:22:43 +08:00
parent 96196e289b
commit 9a6a4b4c1d
2 changed files with 4 additions and 3 deletions

View File

@ -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
/**
* 请求拦截

View File

@ -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);
}
});
}