mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-23 07:40:32 +03:00
+3
-3
@@ -476,11 +476,11 @@ Other demos:
|
|||||||
</tab-content>
|
</tab-content>
|
||||||
|
|
||||||
<template slot="footer" slot-scope="props">
|
<template slot="footer" slot-scope="props">
|
||||||
<div class=wizard-footer-left>
|
<div class="wizard-footer-left">
|
||||||
<wizard-button v-if="props.activeTabIndex > 0 && !props.isLastStep" @click.native="props.prevTab()" :style="props.fillButtonStyle">Previous</wizard-button>
|
<wizard-button v-if="props.activeTabIndex > 0 && !props.isLastStep" @click.native="props.prevTab()" :style="props.fillButtonStyle">Previous</wizard-button>
|
||||||
</div>
|
</div>
|
||||||
<div class="wizard-footer-right">
|
<div class="wizard-footer-right">
|
||||||
<wizard-button v-if="!props.isLastStep"@click.native="props.nextTab()" class="wizard-footer-right" :style="props.fillButtonStyle">Next</wizard-button>
|
<wizard-button v-if="!props.isLastStep" @click.native="props.nextTab()" class="wizard-footer-right" :style="props.fillButtonStyle">Next</wizard-button>
|
||||||
|
|
||||||
<wizard-button v-else @click.native="alert('Done')" class="wizard-footer-right finish-button" :style="props.fillButtonStyle">{{props.isLastStep ? 'Done' : 'Next'}}</wizard-button>
|
<wizard-button v-else @click.native="alert('Done')" class="wizard-footer-right finish-button" :style="props.fillButtonStyle">{{props.isLastStep ? 'Done' : 'Next'}}</wizard-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user