From 0488c24b0d697f9fa7947911a7609d4b45a2d04e Mon Sep 17 00:00:00 2001 From: danshihao Date: Wed, 27 Dec 2023 16:49:15 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=A6=96=E9=A1=B5=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E5=8F=8B=E6=83=85=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/modules/FriendLinkCard.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/dashboard/modules/FriendLinkCard.vue b/src/views/dashboard/modules/FriendLinkCard.vue index 9796e661..8dc201e1 100644 --- a/src/views/dashboard/modules/FriendLinkCard.vue +++ b/src/views/dashboard/modules/FriendLinkCard.vue @@ -36,7 +36,8 @@ export default { this.loading = true getAction(this.url.list, {}).then((res) => { if (res.success) { - this.dataSource = res.result + // grounding 1上架 0下架(只显示上架的) + this.dataSource = res.result.filter(item => item.grounding === '1') } else { this.$message.warning(res.message) }