From 8aaf0180a50a92c1876c35ff53336a1a46532baa Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 16 四月 2024 18:10:04 +0800 Subject: [PATCH] 优化页面 --- src/components/view/a6-device-overview.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/view/a6-device-overview.vue b/src/components/view/a6-device-overview.vue index 5448024..eb4bfab 100644 --- a/src/components/view/a6-device-overview.vue +++ b/src/components/view/a6-device-overview.vue @@ -261,15 +261,15 @@ this.total = res.data.body.total let list = res.data.body.records.map(m=>{ switch (m.deviceStatus){ - case '0': + case 0: // 姝e父 m.type ='success' break; - case '1': + case 1: // 鎶ュ簾 m.type ='warning' break; - case '2': + case 2: // 淇濅慨 m.type ='danger' break; -- Gitblit v1.9.3