fix(platform): keep realtime source when opening vehicle
This commit is contained in:
@@ -160,7 +160,7 @@ export function Realtime({
|
||||
title: '操作',
|
||||
width: 110,
|
||||
render: (_: unknown, row: VehicleRealtimeRow) => (
|
||||
<Button disabled={!canOpenVehicle(row.vin)} onClick={() => onOpenVehicle(row.vin, row.primaryProtocol)}>车辆服务</Button>
|
||||
<Button disabled={!canOpenVehicle(row.vin)} onClick={() => onOpenVehicle(row.vin, filters.protocol || row.primaryProtocol)}>车辆服务</Button>
|
||||
)
|
||||
}
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user