调整健康风险分析时间轴重置按钮行为

This commit is contained in:
JIANG
2026-02-03 11:23:02 +08:00
parent 0690b0b804
commit b8d7974ce9

View File

@@ -150,7 +150,6 @@ const Timeline: React.FC<TimelineProps> = ({
const handleStop = useCallback(() => { const handleStop = useCallback(() => {
setIsPlaying(false); setIsPlaying(false);
setSelectedDateTime(getRoundedDate(new Date()));
if (intervalRef.current) { if (intervalRef.current) {
clearInterval(intervalRef.current); clearInterval(intervalRef.current);
intervalRef.current = null; intervalRef.current = null;