feat(platform): show release in topbar
This commit is contained in:
@@ -36,6 +36,7 @@ function linkHealthClassName(count: number | null) {
|
||||
export function AppShell({
|
||||
activePage,
|
||||
linkIssueCount,
|
||||
platformRelease,
|
||||
currentVehicleStatus,
|
||||
currentVehicleLabel,
|
||||
currentVehicleConsistency,
|
||||
@@ -45,6 +46,7 @@ export function AppShell({
|
||||
}: {
|
||||
activePage: PageKey;
|
||||
linkIssueCount: number | null;
|
||||
platformRelease?: string;
|
||||
currentVehicleStatus?: VehicleServiceStatus;
|
||||
currentVehicleLabel?: string;
|
||||
currentVehicleConsistency?: VehicleSourceConsistency;
|
||||
@@ -107,6 +109,7 @@ export function AppShell({
|
||||
</Tag>
|
||||
) : null}
|
||||
<Tag color="blue">生产环境</Tag>
|
||||
{platformRelease ? <Tag color="blue">版本 {platformRelease}</Tag> : null}
|
||||
<Tag color="grey">多源接入 / 一个车辆服务</Tag>
|
||||
<Tag color={amapConfigured ? 'green' : 'orange'}>{amapConfigured ? '地图就绪' : '地图待配置'}</Tag>
|
||||
<Button size="small" aria-label="顶部实时监控" onClick={() => onChange('realtime')}>实时监控</Button>
|
||||
|
||||
Reference in New Issue
Block a user