Commit df0a00e44ad06629cd4601c90c5ea668defb3e48
1 parent
acf5f6e5
修改跳转问题
Showing
2 changed files
with
4 additions
and
4 deletions
CNLiveWitnessVideoModule.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveWitnessVideoModule' | 10 | s.name = 'CNLiveWitnessVideoModule' |
| 11 | - s.version = '0.0.9' | 11 | + s.version = '0.1.0' |
| 12 | s.summary = '目击者视频播放功能' | 12 | s.summary = '目击者视频播放功能' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 14 | # This description is used to generate tags and improve search results. |
CNLiveWitnessVideoModule/Classes/Controller/CNBWitnessListController.m
| @@ -64,10 +64,10 @@ NSString * const kIdentifier = @"CNBWitnessListCell"; | @@ -64,10 +64,10 @@ NSString * const kIdentifier = @"CNBWitnessListCell"; | ||
| 64 | for (NSDictionary *dic in array) { | 64 | for (NSDictionary *dic in array) { |
| 65 | CNBWitnessListModel *witnessModel = [CNBWitnessListModel mj_objectWithKeyValues:dic]; | 65 | CNBWitnessListModel *witnessModel = [CNBWitnessListModel mj_objectWithKeyValues:dic]; |
| 66 | [_dataSource addObject:witnessModel]; | 66 | [_dataSource addObject:witnessModel]; |
| 67 | - _currentPlayIndex = currentIndex; | ||
| 68 | - _pageIndex = pageNum + 1; | ||
| 69 | - _isHaveNext = @"1"; | ||
| 70 | } | 67 | } |
| 68 | + _currentPlayIndex = currentIndex; | ||
| 69 | + _pageIndex = pageNum + 1; | ||
| 70 | + _isHaveNext = @"1"; | ||
| 71 | }else { | 71 | }else { |
| 72 | if (currentIndex <= array.count) { | 72 | if (currentIndex <= array.count) { |
| 73 | NSDictionary *dic = array[currentIndex]; | 73 | NSDictionary *dic = array[currentIndex]; |