From aa47404b2730703e094e98aaf7935a4f6b7d839a Mon Sep 17 00:00:00 2001 From: Mlin Date: Wed, 1 Mar 2023 17:34:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8=E8=B4=9F=E8=B4=A3=E4=BA=BA?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=A2=9C=E8=89=B2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .umirc.ts | 2 +- src/pages/user.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index d01243a..652763e 100644 --- a/.umirc.ts +++ b/.umirc.ts @@ -26,7 +26,7 @@ export default defineConfig({ proxy: { '/api': { // 标识需要进行转换的请求的url - target: 'http://localhost:8686/api', // 服务端域名 / http://localhost:8686 + target: 'http://localhost:9005/api', // 服务端域名 / http://localhost:8686 changeOrigin: true, // 允许域名进行转换 pathRewrite: { '^/api': '' }, // 将请求url里的ci去掉 }, diff --git a/src/pages/user.jsx b/src/pages/user.jsx index 433de90..1d1f7b2 100644 --- a/src/pages/user.jsx +++ b/src/pages/user.jsx @@ -394,7 +394,7 @@ export default function userPage() { font-size: 13px; font-family: Microsoft YaHei-Bold, Microsoft YaHei; font-weight: bold; - color: #333333; + color: ${d.data.this_dept == '0' ? 'red' : '#333333'}; margin-bottom: 23px; " onclick="if(${ d.data.fisvitual @@ -447,7 +447,7 @@ export default function userPage() {