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 = ""; let age = "";
if (choose.value.person == "9999") { if (choose.value.person == "9999") {
age = ""; age = "";
person_detail(age);
dialogShow.value = true;
} else if (choose.value.person == "6666") { } else if (choose.value.person == "6666") {
age = ""; age = "";
} else if (choose.value.person == 1) { } else if (choose.value.person == 1) {
age = "0"; age = "0";
person_detail(age);
dialogShow.value = true;
} else { } else {
age = choose.value.person - 1; age = choose.value.person - 1;
person_detail(age);
dialogShow.value = true;
} }
person_detail(age);
dialogShow.value = true;
}; };
const close = () => { const close = () => {
dialogShow.value = false; dialogShow.value = false;

View File

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