Commit 7afefe5d by 冷斌

fix bug

parent 094095cf
......@@ -26,7 +26,7 @@
<div class="layout_v" :class="opt.options ? 'order_inner_tab_container' : ''">
<div v-if="opt.options" class="layout_h order_inner_tab" style="background: white;z-index: 220;">
<div v-for="(innerOpt, idx) in opt.options" :key="idx" @click="onInnerTab(index)"
<div v-for="(innerOpt, idx) in opt.options" :key="idx" @click="onInnerTab(idx)"
class="layout_center weight_full"
:class="innerTab == idx ? 'zhenti_tab_selected' : 'zhenti_tab_normal'">{{innerOpt.title}}
</div>
......@@ -142,7 +142,7 @@
items: []
}, {
title: "已取消",
v: 'goods ',
v: 'goods',
items: []
}]
}]
......@@ -194,11 +194,11 @@
},
methods: {
onTopTab: function (tab) {
this.innerTab = tab;
this.tab = tab;
this.getList();
},
onInnerTab: function (tab) {
this.tab = tab;
this.innerTab = tab;
this.getList();
},
getList: function () {
......
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