diff --git a/src/views/homepage/Index.vue b/src/views/homepage/Index.vue index 0cd95780..a2512798 100644 --- a/src/views/homepage/Index.vue +++ b/src/views/homepage/Index.vue @@ -87,7 +87,7 @@ }, mounted() { - console.log('自己='+this.userInfo.showHome); + //console.log('自己='+this.userInfo.showHome); if(this.pageId == this.userInfo.aid) { this.self = true; } @@ -107,7 +107,7 @@ if(idx>0){ //console.log(path.substring(0,idx-1),'this.$router.path'); //this.$router.push(path.substring(0,idx-1)+'?gz=7'+num) - location.href=path.substring(0,idx-1)+'?gz=7'+num; + location.href=process.env.VUE_APP_PUBLIC_PATH+path.substring(0,idx-1)+'?gz=7'+num; }else{ this.$bus.$emit('followIndex',num) }