mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-08 03:42:23 +03:00
+3
-3
@@ -476,11 +476,11 @@ Other demos:
|
||||
</tab-content>
|
||||
|
||||
<template slot="footer" slot-scope="props">
|
||||
<div class=wizard-footer-left>
|
||||
<wizard-button v-if="props.activeTabIndex > 0 && !props.isLastStep" @click.native="props.prevTab()" :style="props.fillButtonStyle">Previous</wizard-button>
|
||||
<div class="wizard-footer-left">
|
||||
<wizard-button v-if="props.activeTabIndex > 0 && !props.isLastStep" @click.native="props.prevTab()" :style="props.fillButtonStyle">Previous</wizard-button>
|
||||
</div>
|
||||
<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>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user