From 73953e3d95ecf974a5e79c1e259d33c1c9d518cc Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期四, 28 十一月 2024 16:49:27 +0800
Subject: [PATCH] add 删除功能
---
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