Skip to content

Commit

Permalink
修复 admin user 保存后不自动关闭问题
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartHypercube committed Oct 27, 2023
1 parent 8a6fce9 commit afb8050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/templates/admin_user.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ <h2 v-else>正在创建</h2>
axios.post('.', {method: 'save', args: this.opened})
.then(({data: {value}}) => {
this.opened = undefined;
location.hash = '';
this.refresh();
this.opened_disabled = false;
})
Expand Down

0 comments on commit afb8050

Please sign in to comment.