去除部分调试日志以及恢复代码

This commit is contained in:
panlinlin
2021-04-19 11:24:03 +08:00
parent fe98e57fc4
commit 57bbbc9f7a
2 changed files with 11 additions and 13 deletions

View File

@@ -21,7 +21,6 @@ export default {
created() {
if(!this.$cookies.get("session")){
//如果没有登录状态则跳转到登录页
console.log("33333333")
this.$router.push('/login');
}
},
@@ -43,7 +42,6 @@ export default {
//cookie操作方法在源码里有或者参考网上的即可
if(!this.$cookies.get("session")){
//如果没有登录状态则跳转到登录页
console.log("222222222")
this.$router.push('/login');
}
},