Commit e4746831 by 冷斌

fix bug

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