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) }