Skip to content

Commit 880bff3

Browse files
committed
取消时间登录直接跳转登录页面
1 parent 5ff1204 commit 880bff3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/components/Layout.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,7 @@
5858
_this.$router.push({name:_this.loginRouterNmae})
5959
}
6060
let apiUrl = this.authCheckApiUrl
61-
// 等待三秒验证登陆状态
62-
setTimeout(() => {
63-
this.$store.dispatch('getData',{ apiUrl, thenFunction, message, catchFunction})
64-
}, 1000);
61+
this.$store.dispatch('getData',{ apiUrl, thenFunction, message, catchFunction})
6562
},
6663
/* [toggleClick 根据屏幕宽度 折叠或者收缩侧栏] */
6764
toggleClick() {

0 commit comments

Comments
 (0)