feat: 添加合规
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// src/views/Market/MarketDataPro.jsx
|
||||
import React, { useState, useEffect, useMemo } from 'react';
|
||||
import { logger } from '../../utils/logger';
|
||||
import { getApiBase } from '../../utils/apiConfig';
|
||||
import {
|
||||
Box,
|
||||
Container,
|
||||
@@ -97,8 +98,7 @@ import ReactECharts from 'echarts-for-react';
|
||||
import ReactMarkdown from 'react-markdown';
|
||||
|
||||
// API服务配置
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
const API_BASE_URL = isProduction ? "" : (process.env.REACT_APP_API_URL || 'http://localhost:5001');
|
||||
const API_BASE_URL = getApiBase();
|
||||
|
||||
// 主题配置
|
||||
const themes = {
|
||||
|
||||
Reference in New Issue
Block a user