Commit 9a8a6702 authored by David黄金龙's avatar David黄金龙

首页banner 最多10条

parent e92a13bf
...@@ -129,8 +129,8 @@ extension YHHomePageViewModel { ...@@ -129,8 +129,8 @@ extension YHHomePageViewModel {
let model = YHBannerModel.localDefaultItem() let model = YHBannerModel.localDefaultItem()
arrData = [model] arrData = [model]
} else if arr.count > 6 { } else if arr.count > 10 {
arrData = Array(arrData?[0...5] ?? []) arrData = Array(arrData?[0...9] ?? [])
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment