FIX redirect after restart panel

This commit is contained in:
Hamidreza Ghavami 2023-05-14 06:19:18 +04:30
parent 61288db11e
commit 5a908b9f58
No known key found for this signature in database
GPG key ID: 402C6797325182D9

View file

@ -358,7 +358,7 @@
if (msg.success) {
this.loading(true);
await PromiseUtil.sleep(5000);
location.reload();
window.location.replace(this.allSetting.webBasePath + "panel/settings");
}
},
async getUserSecret() {