From d9b5841cfbb0270f7fc65b402e535fb2bc1875b3 Mon Sep 17 00:00:00 2001 From: joylink_fanyuhong <18706759286@163.com> Date: Wed, 27 Mar 2024 17:20:17 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=A6=E5=BA=93=E9=97=A8=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/line-app/states/GarageDoorState.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/line-app/states/GarageDoorState.vue b/src/components/line-app/states/GarageDoorState.vue index 43357c3..3810abc 100644 --- a/src/components/line-app/states/GarageDoorState.vue +++ b/src/components/line-app/states/GarageDoorState.vue @@ -83,7 +83,7 @@ const list: KeyType[] = [ { label: '车库门索引', key: 'id' }, { label: '车库门名称', key: 'code', formatFn: getNameFormat }, { label: '车库门关闭', key: 'mgj', formatFn: getName }, - { label: '状态丢失', key: 'stateLoss', formatFn: getName }, + // { label: '状态丢失', key: 'stateLoss', formatFn: getName }, { label: '车库门强制', key: 'param', formatFn: getForceName }, { label: '设置故障', key: 'param', formatFn: getFaultName }, ]; @@ -127,8 +127,8 @@ function getForceName() { } function getFaultName() { - if (garageDoorFault.value == 1) return '是'; - return '否'; + if (garageDoorFault.value == request.Ckm.Fault.FA_State_Loss) return '状态丢失'; + return '无'; } function initGarageDoorState(garageDoor: GarageDoor) {