Commit 1f576fa9 by 冷斌

fix bug

parent 3789f75f
...@@ -238,6 +238,9 @@ ...@@ -238,6 +238,9 @@
}, },
isVideoLocked: function() { isVideoLocked: function() {
return function(child) { return function(child) {
console.log('-------start-------');
console.log(child);
console.log('-------end-------');
if(this.bought) { if(this.bought) {
return false return false
} else { } else {
...@@ -249,7 +252,7 @@ ...@@ -249,7 +252,7 @@
subVideo: function () { subVideo: function () {
// let isVideoLocked = this.isVideoLocked(child); // let isVideoLocked = this.isVideoLocked(child);
return function(child) { return function(child) {
console.log(child); // console.log(child);
return; return;
if (!this.isVideoLocked(child)) { if (!this.isVideoLocked(child)) {
// window.location.href = 1; // window.location.href = 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