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() {