|
|
@ -245,7 +245,9 @@
|
|
|
|
else if(this.selectedbypostid){
|
|
|
|
else if(this.selectedbypostid){
|
|
|
|
return this.posts.filter(post => post.postid === this.selectedpostid);
|
|
|
|
return this.posts.filter(post => post.postid === this.selectedpostid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
return this.posts;
|
|
|
|
return this.posts;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
@ -259,9 +261,6 @@
|
|
|
|
alldongtai() {
|
|
|
|
alldongtai() {
|
|
|
|
this.selectedbyuserid = false;
|
|
|
|
this.selectedbyuserid = false;
|
|
|
|
this.selectedbyuserid =false;
|
|
|
|
this.selectedbyuserid =false;
|
|
|
|
this.selecteduserid = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.selectedIndex = -1;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.$message("查看全部动态");
|
|
|
|
this.$message("查看全部动态");
|
|
|
|
},
|
|
|
|
},
|
|
|
|