From 4db03160a05636d8626b839652130a7781eaa117 Mon Sep 17 00:00:00 2001 From: QMZ <1164250597@qq.com> Date: Tue, 10 Dec 2024 23:34:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AEbug=20=E7=B4=AF=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/community/trends.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/community/trends.vue b/src/views/community/trends.vue index 6ee4b6fc..cff3bfde 100644 --- a/src/views/community/trends.vue +++ b/src/views/community/trends.vue @@ -257,15 +257,20 @@ this.selectedpostid=postid; }, alldongtai() { - this.selectedbyuserid = true; + this.selectedbyuserid = false; + this.selectedbyuserid =false; this.selecteduserid = 0; + this.selectedIndex = -1; + this.$message("查看全部动态"); }, fllowsClick(userid, index) { this.$message("查看userid:" + userid); + this.selectedbyuserid = true; + this.selectedIndex = index; // 点击后设置选中的项 this.selecteduserid = userid;