fix:更新首页bi,实时动态 #5

Merged
zsq merged 1 commits from develop into main 2026-02-06 18:19:06 +08:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit 23bdfe1d97 - Show all commits

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">