Commit d2df5e87 by 冷斌

fix bug

parent a6ad91a1
...@@ -249,9 +249,7 @@ ...@@ -249,9 +249,7 @@
subVideo: function () { subVideo: function () {
// let isVideoLocked = this.isVideoLocked(child); // let isVideoLocked = this.isVideoLocked(child);
return function(child) { return function(child) {
// console.log(child); if (!this.isVideoLocked(child) || this.isFree) {
return;
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