From ca3c30e4e5e944a9067f7092d283a80f90f0e2b0 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Fri, 16 Dec 2022 18:10:49 +0800 Subject: [PATCH] bug --- .umirc.ts | 4 ++-- src/components/topBar/index.jsx | 24 +++++++++++++++++------- src/pages/company.jsx | 14 ++++++++++++++ src/pages/user.jsx | 18 ++++++++++++++++-- 4 files changed, 49 insertions(+), 11 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index bc06f58..c55d73e 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-09-06 16:46:56 + * @LastEditTime: 2022-12-16 11:24:29 * @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://221.226.25.34:8088/api', // 服务端域名 / http://localhost:8686 + target: 'http://localhost:8686/api', // 服务端域名 / http://localhost:8686 changeOrigin: true, // 允许域名进行转换 pathRewrite: { '^/api': '' }, // 将请求url里的ci去掉 }, diff --git a/src/components/topBar/index.jsx b/src/components/topBar/index.jsx index ad49ddd..6c377e4 100644 --- a/src/components/topBar/index.jsx +++ b/src/components/topBar/index.jsx @@ -81,7 +81,7 @@ export class TopBar extends React.Component { return (
- + 数据日期: - + 维度: - + 显示层级: - - + + + @@ -161,7 +162,16 @@ export class TopBar extends React.Component { 显示虚拟组织 - + +