Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
gedoor committed Jan 18, 2019
1 parent 43c5eec commit 3cb0511
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public ChapterListBean getChapter(int index) {
chapterListBean.setDurChapterName("暂无");
chapterListBean.setDurChapterUrl("暂无");
return chapterListBean;
} else if (0 < index && index < getChapterList().size()) {
} else if (0 <= index && index < getChapterList().size()) {
return getChapterList().get(index);
} else {
durChapter = getChapterList().size() - 1;
Expand Down

0 comments on commit 3cb0511

Please sign in to comment.