Commit 7cc46973 by 冷斌

fix bug

parent af6f4f4a
...@@ -176,7 +176,9 @@ ...@@ -176,7 +176,9 @@
}, },
onDownload: function (isBuy, price, path) { onDownload: function (isBuy, price, path) {
console.log(isBuy, price, path); if ( (isBuy || price == 0) && path ) {
window.location.href = path;
}
}, },
onPay: function(id) { onPay: function(id) {
console.log("Id = " + id) console.log("Id = " + id)
......
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