This commit is contained in:
duanxiaohai 2024-09-13 15:12:35 +08:00
parent 501f88793a
commit d06619d983
2 changed files with 5 additions and 5 deletions

View File

@ -211,7 +211,7 @@ const confirmEvent = () => {
let ReportedDto = {
name: data.character.xm,
address: data.character.dz,
phone: "",
phone: "13648554657",
type: data.character.id,
};
http.post(`/api/ggfwyth/pg/reported`, ReportedDto).then((res) => {
@ -220,7 +220,7 @@ const confirmEvent = () => {
message: `上报成功`,
});
clicked.value = false;
}else{
} else {
ElMessage.error({
message: res.message,
});
@ -380,9 +380,9 @@ const handle = (current) => {
font-size: 14px;
font-weight: 500;
font-family: PingFangSC, PingFang SC;
color: red;
line-height: 22px;
letter-spacing: 1px;
color: #ff5959;
}
.lampBtn {
display: flex;

View File

@ -15,8 +15,8 @@ export default defineConfig({
// 第一个代理
"/api": {
// 匹配到啥来进行方向代理
target: "http://10.0.0.65:8095/", //刘进
// target: "http://220.191.238.50:996/", //线上
// target: "http://10.0.0.65:8095/", //刘进
target: "http://220.191.238.50:996/", //线上
changeOrigin: true, //是否支持跨域
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
},