update homepage

This commit is contained in:
lb
2023-09-22 16:29:31 +08:00
parent dcda3a6294
commit 980f3468b7
10 changed files with 93 additions and 90 deletions

View File

@@ -94,7 +94,7 @@ export default {
async logout() {
this.$modal.confirm('确定注销并退出系统吗?', '提示').then(() => {
this.$store.dispatch('LogOut').then(() => {
location.href = getPath('/index');
location.href = getPath('/');
})
}).catch(() => {});
}