From 55b53caef17054ba1bea50128c8e2ee944acccf9 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期二, 18 十月 2022 17:35:44 +0800
Subject: [PATCH] 支持手动添加,为设备设置单独的密码

---
 web_src/src/components/dialog/changePassword.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/web_src/src/components/dialog/changePassword.vue b/web_src/src/components/dialog/changePassword.vue
index 23d761e..77e1d2a 100644
--- a/web_src/src/components/dialog/changePassword.vue
+++ b/web_src/src/components/dialog/changePassword.vue
@@ -96,7 +96,7 @@
           password: this.newPassword
         }
       }).then((res)=> {
-        if (res.data === "success"){
+        if (res.data.code === 0) {
           this.$message({
             showClose: true,
             message: '淇敼鎴愬姛锛岃閲嶆柊鐧诲綍',

--
Gitblit v1.8.0