fix:更新首页bi,实时动态 #5
@ -17,8 +17,8 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/': {
|
'/api/': {
|
||||||
target: 'http://10.39.13.78:8001/',
|
// target: 'http://10.39.13.78:8001/',
|
||||||
// target: 'https://test-company.linyikj.com.cn/',
|
target: 'https://test-company.linyikj.com.cn/',
|
||||||
// target: 'https://company.linyikj.com.cn/',
|
// target: 'https://company.linyikj.com.cn/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: { '^': '' },
|
pathRewrite: { '^': '' },
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import {
|
|||||||
} from '@/gen/Enums';
|
} from '@/gen/Enums';
|
||||||
import { ClockCircleOutlined, FundOutlined } from '@ant-design/icons';
|
import { ClockCircleOutlined, FundOutlined } from '@ant-design/icons';
|
||||||
import { ProCard, ProTable } from '@ant-design/pro-components';
|
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 { useEffect, useState } from 'react';
|
||||||
import CountUp from 'react-countup';
|
import CountUp from 'react-countup';
|
||||||
import MyFinancialAnalysisLine from '../charts/FinancialAnalysisLine';
|
import MyFinancialAnalysisLine from '../charts/FinancialAnalysisLine';
|
||||||
@ -197,6 +197,7 @@ export default function LayoutLeft() {
|
|||||||
<div className="title">实时动态</div>
|
<div className="title">实时动态</div>
|
||||||
</Space>
|
</Space>
|
||||||
<div className="dynamics_contents">
|
<div className="dynamics_contents">
|
||||||
|
{todayDynamics?.dynamics?.length ? '' : <Empty />}
|
||||||
{todayDynamics?.dynamics?.map((res: any, index: number) => {
|
{todayDynamics?.dynamics?.map((res: any, index: number) => {
|
||||||
return (
|
return (
|
||||||
<div key={`item_${index}`} className="real_time_dynamics">
|
<div key={`item_${index}`} className="real_time_dynamics">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user