From 938e49241fdf5a02d5c461a5ceaa11679d712f55 Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期一, 25 十一月 2024 15:03:55 +0800
Subject: [PATCH] fix: 从无到有,从有到无
---
src/components/device-info.vue | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/components/device-info.vue b/src/components/device-info.vue
index 07c9b5c..b216632 100644
--- a/src/components/device-info.vue
+++ b/src/components/device-info.vue
@@ -90,10 +90,10 @@
<div
class="button-to-check"
v-if="
- device_info?.status==1 ||
- device_info?.status==2 ||
- device_info?.status==3 ||
- device_info?.status==4
+ device_info?.statusInt==1 ||
+ device_info?.statusInt==2 ||
+ device_info?.statusInt==3 ||
+ device_info?.statusInt==4
"
@click="statusPort(index)"
@@ -220,7 +220,7 @@
width: 49rem;
position: absolute;
// top: -31.5rem;
- top: -46.5rem;
+ top: -44.9rem;
transform: translate(-48%, 0%);
left: 50%;
z-index: 120;
@@ -330,6 +330,7 @@
.info-container {
display: flex;
justify-content: space-between;
+ height:100%;
}
.info-block {
--
Gitblit v1.9.3