feat: k线图自适应

This commit is contained in:
zdl
2025-11-05 10:10:22 +08:00
parent bf89c0e13e
commit 69d4b8bae0
3 changed files with 81 additions and 54 deletions

View File

@@ -161,8 +161,8 @@ const MiniKLineChart = React.memo(function MiniKLineChart({ stockCode, eventTime
return (
<div
style={{
width: 140,
height: 40,
width: '100%',
height: 30,
cursor: onClick ? 'pointer' : 'default'
}}
onClick={onClick}