diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue index ff6e97b..2ac172e 100644 --- a/src/view/sy_details.vue +++ b/src/view/sy_details.vue @@ -1615,7 +1615,7 @@ const listAssignment = () => { }; onMounted(() => { - tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); if (routers.query.name) { data.name = routers.query.name; listAssignment(); diff --git a/src/view/sy_table.vue b/src/view/sy_table.vue index bd4ac6b..6f3e47f 100644 --- a/src/view/sy_table.vue +++ b/src/view/sy_table.vue @@ -669,7 +669,7 @@ const sevenYX = (name) => { }; onMounted(() => { - tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); getData("弱有所扶", "社会救助服务"); sevenYX("弱有众扶"); }); diff --git a/vite.config.js b/vite.config.js index 99753df..7708875 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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 替换成空,这个 },