Commit 12c66479 authored by 李维's avatar 李维

修复错误

parent 83cf299f
...@@ -229,9 +229,9 @@ export default class VideoPlayerComponent extends cc.Component { ...@@ -229,9 +229,9 @@ export default class VideoPlayerComponent extends cc.Component {
} }
refreshLastNextBtns(){ refreshLastNextBtns(){
cc.find("Canvas/btn_last").active=this.videoPlayIndex!=0 cc.find("Canvas/pageButton/btn_last").active=this.videoPlayIndex!=0
if (this.videoItemList) { if (this.videoItemList) {
cc.find("Canvas/btn_next").active=this.videoPlayIndex!=this.videoItemList.length-1 cc.find("Canvas/pageButton/btn_next").active=this.videoPlayIndex!=this.videoItemList.length-1
} }
} }
......
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