This commit is contained in:
姚宇浩 2024-08-19 17:03:20 +08:00
commit a583794cc5
3 changed files with 4 additions and 4 deletions

View File

@ -1615,7 +1615,7 @@ const listAssignment = () => {
}; };
onMounted(() => { onMounted(() => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
if (routers.query.name) { if (routers.query.name) {
data.name = routers.query.name; data.name = routers.query.name;
listAssignment(); listAssignment();

View File

@ -669,7 +669,7 @@ const sevenYX = (name) => {
}; };
onMounted(() => { onMounted(() => {
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
getData("弱有所扶", "社会救助服务"); getData("弱有所扶", "社会救助服务");
sevenYX("弱有众扶"); sevenYX("弱有众扶");
}); });

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