Commit bcdfd718 by 冷斌

fix bug

parent f0f3b6b0
...@@ -249,7 +249,8 @@ ...@@ -249,7 +249,8 @@
subVideo: function () { subVideo: function () {
// let isVideoLocked = this.isVideoLocked(child); // let isVideoLocked = this.isVideoLocked(child);
return function(child) { return function(child) {
if (!this.isVideoLocked(child) || this.isFree()) { console.log(child);
if (!this.isVideoLocked(child)) {
// window.location.href = 1; // window.location.href = 1;
// <a href="{:U('course/Video/watch',array('id'=>$vo1['vid'],'s_id'=>$vo1['id']))}"> // <a href="{:U('course/Video/watch',array('id'=>$vo1['vid'],'s_id'=>$vo1['id']))}">
let url = "{:U('course/Video/watch')}"; let url = "{:U('course/Video/watch')}";
......
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