From aab4e5701f909ff3f561af1c37dbdefb3cc6f1c0 Mon Sep 17 00:00:00 2001 From: 1178634255 <1178634255@qq.com> Date: Fri, 7 Jul 2023 14:02:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index fa3df8ad..441d93cc 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -135,7 +135,7 @@ size="small" placeholder="请输入当前密码" type="password" - v-model="inputQuery.password" + v-model="inputQuery.passWord" @input="change()" > @@ -148,7 +148,7 @@ size="small" placeholder="请输入新密码" type="password" - v-model="inputQuery.password" + v-model="inputQuery.newPassword" @input="change()" > @@ -215,7 +215,8 @@ export default { isVisible: false, userInfo: {}, inputQuery: { - password: "", + passWord: "", + newPassword: "", confirmPassword: "", userName: "", locInvCode: "", @@ -285,7 +286,7 @@ export default { this.loading = false; this.$confirm('密码重置成功,请点击确定重新登录', '提示', { confirmButtonText: '确定', - // cancelButtonText: '取消', + cancelButtonText: '取消', type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => {