fix:登陆状态频繁失效

This commit is contained in:
2026-11-20 14:18:54 +08:00
parent ad59ece160
commit 589fc24bc2

View File

@@ -21,10 +21,7 @@ export default {
}
},
init: function() {
this.timmer = setTimeout(() => {
sessionStorage.clear()
this.logout()
}, 1000 * 60 * 151) // 15分钟 https://blog.csdn.net/qq_42345108/article/details/103496456
},
logout() {
this.$store.dispatch('LogOut').then(() => {