Commit 8073888f by 冷斌

设置

parent 2890bc4d
...@@ -208,7 +208,6 @@ ...@@ -208,7 +208,6 @@
}, },
listItem: function () { listItem: function () {
return function (opt) { return function (opt) {
console.log(this.innerTab, this.tab);
return opt.options ? opt.options[this.innerTab].items : opt.items return opt.options ? opt.options[this.innerTab].items : opt.items
} }
}, },
...@@ -223,11 +222,11 @@ ...@@ -223,11 +222,11 @@
}, },
methods: { methods: {
onTopTab: function (tab) { onTopTab: function (tab) {
console.log('a', this.innerTab, this.tab);
}, },
onInnerTab: function (tab) { onInnerTab: function (tab) {
console.log(tab);
this.innerTab = tab this.innerTab = tab
console.log('b', this.innerTab, this.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