From b86d97b09d1aca57291004c1a2bc014f90702918 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 26 一月 2024 16:14:39 +0800 Subject: [PATCH] 提交代码 --- 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.9.3