Commit f12897d9 by 冷斌

设置

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