feat: 访问"概念中心"页面
2. 点击任意概念卡片进入概念详情
3. 点击"历史时间轴"按钮(需要Max会员权限)
4. 查看弹窗底部是否显示风险提示 & mock数据处理
This commit is contained in:
@@ -259,8 +259,8 @@ export const conceptHandlers = [
|
||||
// 跳过周末
|
||||
if (date.getDay() !== 0 && date.getDay() !== 6) {
|
||||
timeseries.push({
|
||||
date: date.toISOString().split('T')[0],
|
||||
avg_change_pct: (Math.random() * 8 - 2).toFixed(2),
|
||||
trade_date: date.toISOString().split('T')[0], // 改为 trade_date
|
||||
avg_change_pct: parseFloat((Math.random() * 8 - 2).toFixed(2)), // 转为数值
|
||||
stock_count: Math.floor(Math.random() * 30) + 10,
|
||||
volume: Math.floor(Math.random() * 1000000000)
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user