diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index 2b3f0db..b5524b4 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -3163,7 +3163,7 @@ const reset_font2 = () => { "scale(" + width / 1920 + "," + height / 1080 + ")"; }; onMounted(async () => { - // tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); + tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d"); loadingss.value = true; reset_font(); initMap(); @@ -3768,6 +3768,7 @@ onMounted(async () => { .title_name { cursor: pointer; display: flex; + align-items: center; font-family: titletheRightWay; font-size: 30px; font-weight: 900; @@ -3784,7 +3785,8 @@ onMounted(async () => { span { display: block; font-family: titletheRightWay; - font-size: 34px; + font-size: 32px; + white-space: nowrap; font-weight: normal; // font-weight: 900; // line-height: 44px; diff --git a/vite.config.js b/vite.config.js index 7708875..99753df 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 替换成空,这个 },