Commit 795dd580 by 冷斌

fix bug

parent db5d4857
...@@ -239,9 +239,12 @@ ...@@ -239,9 +239,12 @@
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)) {
// window.location.href = 1;
let url = "{:U('course/Video/watch')}";
console.log(url, child)
}
} }
// window.location.href = "{:U('basic/Passport/login')}";
}, },
childStyle: function() { childStyle: function() {
return function(idx, item) { return function(idx, item) {
......
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