Merge pull request !251 from Admin/sit-Carl-lin-dev
This commit is contained in:
Admin
2022-03-21 11:12:17 +00:00
committed by Gitee

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 () {