2
0
mirror of https://github.com/tenrok/vue-form-wizard.git synced 2026-05-27 01:24:03 +03:00
This commit is contained in:
cristij
2018-01-16 19:25:25 +02:00
parent 7c31d65125
commit e3a85e4e16
4 changed files with 114 additions and 88 deletions
+6 -1
View File
@@ -8,7 +8,12 @@
@on-change="handleChange"
:start-index.sync="activeIndex"
color="#e74c3c">
<tab-content v-for="tab in tabs" :title="tab" :key="tab">{{tab}}</tab-content>
<tab-content v-for="(tab, index) in tabs"
:beforeChange="validateAsync"
:title="tab"
:key="tab">
{{tab}}
</tab-content>
<transition name="fade" mode="out-in">
<router-view></router-view>
</transition>