From a891e50e25f1b2b60d4c1e132ae9ff165e9834b0 Mon Sep 17 00:00:00 2001
From: xiejun <xiejun@vci-tech.com>
Date: 星期一, 29 一月 2024 09:09:54 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复

---
 Source/UBCS-WEB/src/views/system/userinfo.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/system/userinfo.vue b/Source/UBCS-WEB/src/views/system/userinfo.vue
index 1a87d09..b1a45ae 100644
--- a/Source/UBCS-WEB/src/views/system/userinfo.vue
+++ b/Source/UBCS-WEB/src/views/system/userinfo.vue
@@ -32,7 +32,7 @@
           updateInfo(form).then(res => {
             if (res.data.success) {
               if( form.oldPassword != undefined || form.newPassword1 != undefined || form.newPassword != undefined){
-                updatePassword(form.oldPassword, form.newPassword, form.newPassword1).then(res => {
+                updatePassword(md5(form.oldPassword), form.newPassword, form.newPassword1).then(res => {
                   if (res.data.success) {
                     this.$message({
                       type: "success",

--
Gitblit v1.9.3