Compare commits

...

2 Commits

Author SHA1 Message Date
zsq
33b1bff2f4 Merge pull request 'fix:更新首页bi,实时动态' (#5) from develop into main
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m30s
Reviewed-on: #5
2026-02-06 18:19:05 +08:00
Your Name
23bdfe1d97 fix:更新首页bi,实时动态
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m25s
2026-02-06 18:18:12 +08:00
2 changed files with 4 additions and 3 deletions

View File

@ -17,8 +17,8 @@ export default defineConfig({
},
proxy: {
'/api/': {
target: 'http://10.39.13.78:8001/',
// target: 'https://test-company.linyikj.com.cn/',
// target: 'http://10.39.13.78:8001/',
target: 'https://test-company.linyikj.com.cn/',
// target: 'https://company.linyikj.com.cn/',
changeOrigin: true,
pathRewrite: { '^': '' },

View File

@ -7,7 +7,7 @@ import {
} from '@/gen/Enums';
import { ClockCircleOutlined, FundOutlined } from '@ant-design/icons';
import { ProCard, ProTable } from '@ant-design/pro-components';
import { Col, Row, Space } from 'antd';
import { Col, Empty, Row, Space } from 'antd';
import { useEffect, useState } from 'react';
import CountUp from 'react-countup';
import MyFinancialAnalysisLine from '../charts/FinancialAnalysisLine';
@ -197,6 +197,7 @@ export default function LayoutLeft() {
<div className="title"></div>
</Space>
<div className="dynamics_contents">
{todayDynamics?.dynamics?.length ? '' : <Empty />}
{todayDynamics?.dynamics?.map((res: any, index: number) => {
return (
<div key={`item_${index}`} className="real_time_dynamics">