feat: bug修复

This commit is contained in:
zdl
2025-12-05 18:41:45 +08:00
parent e168e357d7
commit 2ffb8f9e83
5 changed files with 24 additions and 21 deletions

View File

@@ -510,7 +510,7 @@ const StockChartAntdModal = ({
centered
zIndex={2500}
mask={true}
destroyOnClose={true}
destroyOnHidden={true}
bodyStyle={{ maxHeight: 'calc(90vh - 120px)', overflowY: 'auto', padding: '16px' }}
>
<div style={{ width: '100%' }}>

View File

@@ -176,7 +176,7 @@ const StockChartKLineModal: React.FC<StockChartKLineModalProps> = ({
width={1200}
footer={null}
centered
destroyOnClose // 关闭时销毁组件(释放图表资源)
destroyOnHidden // 关闭时销毁组件(释放图表资源)
>
{/* 工具栏 */}
<Box mb={4}>