From 6a33c71f381aec0dbc778f80527b62d343fd0146 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 05 一月 2024 10:28:24 +0800 Subject: [PATCH] 修改接口调用 --- src/types/monitorData.d.ts | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/types/monitorData.d.ts b/src/types/monitorData.d.ts index a0219f5..9ff2d0c 100644 --- a/src/types/monitorData.d.ts +++ b/src/types/monitorData.d.ts @@ -23,8 +23,8 @@ time: string; windSpeed: string; windDirection: string; - gasName: string; - gasPPM: string; + name: string; + gasValue: string; } export interface TableGasState { tableData: { @@ -39,20 +39,22 @@ endTime: string; time: Array<any>; gas: string; + position: number | null; } }; gasList: Array<any>; + positionList: Array<any>; } } export interface TableFluxRow { id: string; time: string; - area: string; + regionName: string; windSpeed: string; windDirection: string; - gasName: string; - gasPPM: string; + name: string; + gasValue: string; } export interface TableFluxState { tableData: { @@ -70,7 +72,7 @@ }; gasList: Array<any>; areaList: Array<any>; - } + }, } export interface TableWeatherRow { @@ -97,4 +99,4 @@ }; weatherTypeList: Array<any>; } -} \ No newline at end of file +} -- Gitblit v1.9.2