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

---
 Source/UBCS-WEB/src/page/login/userlogin.vue |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/Source/UBCS-WEB/src/page/login/userlogin.vue b/Source/UBCS-WEB/src/page/login/userlogin.vue
index 4655672..f379bce 100644
--- a/Source/UBCS-WEB/src/page/login/userlogin.vue
+++ b/Source/UBCS-WEB/src/page/login/userlogin.vue
@@ -52,13 +52,13 @@
                @closed="closehandle">
       <el-form :model="form" :rules="rules">
         <el-form-item :label-width="formLabelWidth" label="鍘熷瘑鐮�" prop="oldPassword">
-          <el-input v-model="form.oldPassword" autocomplete="off"></el-input>
+          <el-input v-model="form.oldPassword" autocomplete="off" type="password"></el-input>
         </el-form-item>
         <el-form-item :label-width="formLabelWidth" label="鏂板瘑鐮�" prop="newPassword">
-          <el-input v-model="form.newPassword" autocomplete="off"></el-input>
+          <el-input v-model="form.newPassword" autocomplete="off" type="password"></el-input>
         </el-form-item>
         <el-form-item :label-width="formLabelWidth" label="纭瀵嗙爜" prop="newPassword1">
-          <el-input v-model="form.newPassword1" autocomplete="off"></el-input>
+          <el-input v-model="form.newPassword1" autocomplete="off" type="password"></el-input>
         </el-form-item>
       </el-form>
       <div slot="footer" class="dialog-footer">
@@ -67,7 +67,6 @@
       </div>
     </el-dialog>
   </div>
-
 </template>
 
 <script>
@@ -314,7 +313,7 @@
     addHandler() {
       this.dialogFormVisible = false
       updatePassword(md5(this.form.oldPassword), this.form.newPassword, this.form.newPassword1).then(res => {
-        console.log(res)
+        //console.log(res)
         if (res.data.code == 200) {
           this.$message({
             type: "success",

--
Gitblit v1.10.0