fix(platform): keep history source when opening vehicle

This commit is contained in:
lingniu
2026-07-04 06:20:29 +08:00
parent b9a173f8d2
commit 6dd00f4ebb
2 changed files with 57 additions and 3 deletions

View File

@@ -145,7 +145,7 @@ export function History({
title="历史数据"
description="按车辆查询位置历史和 RAW 帧历史,数据来源只作为过滤和诊断维度"
actions={(
<Button disabled={!currentVehicleKeyword} onClick={() => onOpenVehicle(currentVehicleKeyword)}>
<Button disabled={!currentVehicleKeyword} onClick={() => onOpenVehicle(currentVehicleKeyword, currentProtocol)}>
</Button>
)}