Commit f12897d9 by 冷斌

设置

parent 2da960ba
......@@ -137,9 +137,10 @@
return index == 0 ? '取消订单' : '删除订单'
}
},
listItem: function(opt) {
console.log(opt);
// return opt.options ? opt.options[this.innerTab].items : opt.items
listItem: function() {
return function(opt) {
return opt.options ? opt.options[this.innerTab].items : opt.items
}
},
showEmpty: function() {
let opt = this.options[this.tab]
......@@ -155,7 +156,6 @@
},
onInnerTab: function(tab) {
console.log(tab);
this.innerTab = tab
}
},
......
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