From c8cf9f8ba577ce75e8723ff2d4218fffae349c47 Mon Sep 17 00:00:00 2001 From: songshankun <songshankun@foxmail.com> Date: 星期二, 14 十一月 2023 15:11:09 +0800 Subject: [PATCH] fix: 修复工序步骤条当前工序展示错误的问题 --- src/api/device.ts | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/api/device.ts b/src/api/device.ts index 6023675..1cd58f4 100644 --- a/src/api/device.ts +++ b/src/api/device.ts @@ -1,4 +1,12 @@ +export interface DeviceMap { + deviceID: string + deviceName: string + /** true鏃舵病鏈夊伐鑹哄弬鏁颁笉鍏佽涓嬪彂 false鏃舵病鏈夊伐鑹哄弬鏁板厑璁镐笅鍙�*/ + needSetProcessParams: boolean +} + export interface Devices { + /** 鏈満璁惧缂栫爜 */ systemDeviceID: string currentDeviceID: string systemDeviceStatus: number @@ -6,5 +14,5 @@ clusterStatus: 'master' | 'slave' | '' clusterNodeQuantity: number systemDeviceRunSince: number - deviceIDList: string[] + deviceList: DeviceMap[] } -- Gitblit v1.8.0