Commit 9828f3f8 authored by David黄金龙's avatar David黄金龙

处理一处变量校验

parent 02908ca0
......@@ -26,7 +26,7 @@ class YHPictureReviewManager: NSObject {
extension YHPictureReviewManager {
func showNetWorkPicturs(curIndex : Int,arrPicturs:[String]) {
guard curIndex > 0,arrPicturs.count > 0 else { return }
guard curIndex > -1,arrPicturs.count > 0 else { return }
self.curIndex = curIndex
self.arrPics = arrPicturs
......
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