Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions frontEnd/src/components/Account/changePwd.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<el-dialog ref="dialog" custom-class="w-400 h-300" title="修改密码">
<el-dialog :visible.sync="dialogVisible" custom-class="w-400 h-300" title="修改密码">
<div class="ovf-auto">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="旧密码" prop="old_pwd">
Expand All @@ -24,6 +24,7 @@
export default {
data() {
return {
dialogVisible: false,
disable: false,
form: {
auth_key: '',
Expand All @@ -44,10 +45,10 @@
},
methods: {
open() {
this.$refs.dialog.open()
this.dialogVisible = true
},
close() {
this.$refs.dialog.close()
this.dialogVisible = false
},
submit() {
this.$refs.form.validate((pass) => {
Expand Down Expand Up @@ -75,4 +76,4 @@
},
mixins: [http]
}
</script>
</script>