pull/1/head
QMZ 2 months ago
parent 4db03160a0
commit c8cbe7f38d

@ -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("查看全部动态");
}, },

Loading…
Cancel
Save