From 0ce6fd93f7c15e5cb9c6f85f0a68089d23418f12 Mon Sep 17 00:00:00 2001 From: zjx Date: Wed, 28 May 2025 15:20:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Veloria/Class/Home/View/VPHomeBannerContentCell.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Veloria/Class/Home/View/VPHomeBannerContentCell.swift b/Veloria/Class/Home/View/VPHomeBannerContentCell.swift index f60621b..7b8c37c 100644 --- a/Veloria/Class/Home/View/VPHomeBannerContentCell.swift +++ b/Veloria/Class/Home/View/VPHomeBannerContentCell.swift @@ -15,6 +15,8 @@ class VPHomeBannerContentCell: VPHomeItemContentCell { override var item: VPHomeModuleItem? { didSet { + if item == oldValue { return } + pageControl.count = item?.list?.count ?? 0 bannerView.reloadData() }