From e37e45cfe1123928dba5d9c5a427b0ee497b7ad6 Mon Sep 17 00:00:00 2001 From: zhangzengfei <zhangzengfei@smartai.com> Date: 星期二, 23 八月 2022 03:21:32 +0800 Subject: [PATCH] 修复算法配置的字段内容 --- src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue b/src/views/equipmentManagement/equipmentDetail/components/UnbindBox.vue index 9cee935..2a2f7cc 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({ @@ -52,7 +53,7 @@ duration: 2500, offset: 57, }); - this.$emit("close"); + this.$emit("reflash"); } else { this.$notify({ type: "error", @@ -117,7 +118,7 @@ .btns { display: flex; - justify-content: end; + justify-content: flex-end; text-align: center; line-height: 40px; @@ -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