From 694c26313115225b2369afdf47c06a5e370d6ff1 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Fri, 23 Sep 2022 09:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E7=BB=87=E6=9E=B6=E6=9E=84=E5=9B=BE?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 4 ++-- src/pages/company.jsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index 6957058..bc06f58 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -2,7 +2,7 @@ * @Author: Chengliang 1546584672@qq.com * @Date: 2022-08-04 10:22:55 * @LastEditors: Chengliang 1546584672@qq.com - * @LastEditTime: 2022-08-09 10:34:39 + * @LastEditTime: 2022-09-06 16:46:56 * @FilePath: /org-chart-frant/.umirc.ts * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ @@ -26,7 +26,7 @@ export default defineConfig({ proxy: { '/api': { // 标识需要进行转换的请求的url - target: 'http://localhost:8686/api', // 服务端域名 / http://localhost:8686 + target: 'http://221.226.25.34:8088/api', // 服务端域名 / http://localhost:8686 changeOrigin: true, // 允许域名进行转换 pathRewrite: { '^/api': '' }, // 将请求url里的ci去掉 }, diff --git a/src/pages/company.jsx b/src/pages/company.jsx index fe15813..e03f0e6 100644 --- a/src/pages/company.jsx +++ b/src/pages/company.jsx @@ -159,7 +159,7 @@ export default function companyPage() { `; } else if (d.data.ftype == 1) { return `
@@ -178,7 +178,7 @@ export default function companyPage() { } else if (d.data.ftype == 2) { return `