From f7ad95439053af6e89e04a2b669e16b6408ece25 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 07 十一月 2023 17:02:15 +0800 Subject: [PATCH] 更新加载状态问题 --- src/api/device.ts | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/api/device.ts b/src/api/device.ts index 6023675..f102b7b 100644 --- a/src/api/device.ts +++ b/src/api/device.ts @@ -1,4 +1,10 @@ +export interface DeviceMap { + deviceID: string + deviceName: string +} + export interface Devices { + /** 鏈満璁惧缂栫爜 */ systemDeviceID: string currentDeviceID: string systemDeviceStatus: number @@ -6,5 +12,5 @@ clusterStatus: 'master' | 'slave' | '' clusterNodeQuantity: number systemDeviceRunSince: number - deviceIDList: string[] + deviceList: DeviceMap[] } -- Gitblit v1.8.0