Skip to content

Commit

Permalink
🐛 Fixing a bug.v0.4.0::restart
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghengxin committed Dec 15, 2022
1 parent 171c4cc commit 0b9f483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TopBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ export default {
break;
}
let timer;
let path = key === 'Shutdown' ? 'off' : 'Restart'
let path = key === 'Shutdown' ? 'off' : 'restart'
this.$api.sys.power(path).then(res => {
if (res.data.success === 200) {
this.showPowerMessage = res.data.data
Expand Down

0 comments on commit 0b9f483

Please sign in to comment.