update pay ui
This commit is contained in:
@@ -28,6 +28,7 @@ import {
|
||||
import { AlertCircle, Clock, TrendingUp, Info, RefreshCw } from 'lucide-react';
|
||||
import ReactECharts from 'echarts-for-react';
|
||||
import { logger } from '@utils/logger';
|
||||
import { getApiBase } from '@utils/apiConfig';
|
||||
import { useIndexQuote } from '@hooks/useIndexQuote';
|
||||
|
||||
// 定义动画
|
||||
@@ -77,7 +78,7 @@ const fetchIndexKline = async (indexCode) => {
|
||||
*/
|
||||
const fetchPopularConcepts = async () => {
|
||||
try {
|
||||
const response = await fetch('/concept-api/search', {
|
||||
const response = await fetch(`${getApiBase()}/concept-api/search`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({ query: '', size: 60, page: 1, sort_by: 'change_pct' })
|
||||
|
||||
Reference in New Issue
Block a user