Commit db70fb4b by 冷斌

fix bug

parent d3dc3863
......@@ -174,6 +174,11 @@
return opt.options ? opt.options[this.innerTab].items : opt.items
}
},
getOptions: function () {
return function (opt) {
return opt.options ? opt.options[this.innerTab] : []
}
},
showEmpty: function () {
let opt = this.options[this.tab]
if (opt.options) {
......@@ -223,7 +228,7 @@
return true;
},
onPay: function (item, type, opt) {
console.log(opt, opt.options[this.innerTab]);
console.log(this.getOptions(opt));
return false;
if (!this.isLogin()) {
return false;
......
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