This commit is contained in:
duanxiaohai 2024-08-02 17:19:48 +08:00
commit 86b9be9002
2 changed files with 10 additions and 4 deletions

View File

@ -1737,15 +1737,21 @@ const open_detail = () => {
let age = "";
if (choose.value.person == "9999") {
age = "";
person_detail(age);
dialogShow.value = true;
} else if (choose.value.person == "6666") {
age = "";
} else if (choose.value.person == 1) {
age = "0";
} else {
age = choose.value.person - 1;
}
person_detail(age);
dialogShow.value = true;
} else {
age = choose.value.person - 1;
person_detail(age);
dialogShow.value = true;
}
};
const close = () => {
dialogShow.value = false;

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 替换成空,这个
},