feat: 修改更新依赖

This commit is contained in:
zdl
2025-11-04 20:19:01 +08:00
parent c7334191e5
commit 38d1b51af3
2 changed files with 10 additions and 6 deletions

View File

@@ -63,11 +63,11 @@ function StockDetailPanel({ visible, event, onClose }) {
refreshQuotes
} = useEventStocks(event?.id, event?.start_time);
// 自选股管理
// 自选股管理(只在 Drawer 可见时加载)
const {
watchlistSet,
toggleWatchlist
} = useWatchlist();
} = useWatchlist(visible);
// 实时监控管理
const {