From 3212503a64a26b8d39a316b466a8cb97c13289fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=88=90?= Date: Wed, 22 Apr 2026 10:47:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9C=BA=E5=9C=B0=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/game_pages/detail/components/VenueInfo/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/game_pages/detail/components/VenueInfo/index.tsx b/src/game_pages/detail/components/VenueInfo/index.tsx index 343d285..d8f2948 100644 --- a/src/game_pages/detail/components/VenueInfo/index.tsx +++ b/src/game_pages/detail/components/VenueInfo/index.tsx @@ -12,9 +12,11 @@ export default function VenueInfo(props) { const [visible, setVisible] = useState(false); const { venue_description, + court_type, venue_description_tag = [], venue_image_list = [], } = detail; + const venue_tags = [court_type, ...venue_description_tag].filter(Boolean); // 统一为 URL 数组:接口可能是 { id, url }[] 或 string[] const screenshot_urls = (venue_image_list || []).map((item) => @@ -61,7 +63,7 @@ export default function VenueInfo(props) { {/* venue detail tags */} - {insertDotInTags(venue_description_tag).map((tag, index) => ( + {insertDotInTags(venue_tags).map((tag, index) => (