From 994e5e08cba4e6b9ce321b7cf5cb1ec8d19dfa22 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期二, 12 四月 2022 17:50:21 +0800
Subject: [PATCH] 摄像机管理

---
 src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue b/src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue
index 9cee935..cc12cf9 100644
--- a/src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue
+++ b/src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue
@@ -33,9 +33,10 @@
       let res = {};
       try {
         res = await unbind({
-          ids: [this.id],
+          id: this.id,
           password: this.password,
           username: JSON.parse(sessionStorage.getItem("userInfo")).username,
+          userId: JSON.parse(sessionStorage.getItem("userInfo")).id,
         });
       } catch (err) {
         this.$notify({
@@ -141,7 +142,7 @@
     position: absolute;
     top: 10px;
     right: 10px;
-    font-size: 12px;
+    font-size: 1px;
     color: 187, 187, 187;
     cursor: pointer;
   }

--
Gitblit v1.8.0