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(() => {