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
commit 3846c502e0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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