feat: 添加合规
This commit is contained in:
@@ -65,6 +65,7 @@ import ReactECharts from 'echarts-for-react';
|
||||
import HomeNavbar from '../../../components/Navbars/HomeNavbar';
|
||||
|
||||
import { logger } from '../../../utils/logger';
|
||||
import { getApiBase } from '../../../utils/apiConfig';
|
||||
|
||||
// 板块关联TOP10数据计算
|
||||
function getSectorRelationTop10(sectorData) {
|
||||
@@ -177,7 +178,7 @@ function getTop10Sectors(chartData) {
|
||||
}
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
|
||||
const API_BASE = isProduction ? "" : process.env.REACT_APP_API_URL;
|
||||
const API_BASE = getApiBase();
|
||||
// const API_BASE = 'http://49.232.185.254:5001'; // 改回5001端口,确保和后端一致
|
||||
|
||||
// 涨停分析服务
|
||||
|
||||
Reference in New Issue
Block a user