From b1b93cb4388837a510f41a839900a72a5ea5f03c Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Fri, 9 Dec 2022 15:22:37 +0800 Subject: [PATCH] bug --- .umirc.ts | 4 ++-- src/components/topBar/index.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.umirc.ts b/.umirc.ts index 25a176a..b6c5c7b 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-12-02 16:08:52 + * @LastEditTime: 2022-12-02 17:57:51 * @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://192.168.0.152:8093//api', // 服务端域名 / http://localhost:8686 + target: 'http://192.168.1.67:9002/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 0be3406..9327ead 100644 --- a/src/components/topBar/index.jsx +++ b/src/components/topBar/index.jsx @@ -220,7 +220,7 @@ export class TopBar extends React.Component { style={{ width: 130 }} locale={locale} allowClear={false} - // disabledDate={this.disabledDate} + disabledDate={this.disabledDate} defaultValue={moment(new Date())} value={ this.state.requestData.date && this.state.requestData.date != ''