Created
December 9, 2016 13:38
-
-
Save faforty/ea61b174a857fd7dd6ca43ae2b823f07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ui-tabs align="top" :active="$route.name" :percent="50" :indicator-height="6" :indicator-border="false" class="b-platform-head-tabs" @change="activeTab"> | |
<ui-tab v-for="(tab, index) in getTabs" | |
:name="tab.name" | |
:disabled="getCountedSteps() < index" | |
v-show="tabPage == tab.page"> | |
<router-link :to="{ name: getCountedSteps() < index ? false : tab.name}"> | |
{{ tab.title }} | |
</router-link> | |
</ui-tab> | |
<div slot="contents"> | |
<router-view ref="contentTab" v-bind:api="api" v-bind:product="getProduct" v-bind:numberTab="getCountedSteps()"></router-view> | |
</div> | |
</ui-tabs> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment