1.修改记住登录态的方法
This commit is contained in:
lin 2022-03-21 19:11:38 +08:00
parent 0f7931155a
commit 393f9b71cd

View File

@ -226,11 +226,10 @@ export default {
//console.log(this.$route.params);
this.checkIsLogin();
let user = this.$store.state.userInfo;
if(user || this.userInfo) {
console.log('333');
// this.$router.push({
// path: "/personal/mypersonal",
// });
if(user) {
this.$router.push({
path: "/personal/mypersonal",
});
}
},
// watch: function () {