mirror of
https://github.com/tenrok/vue-form-wizard.git
synced 2026-06-03 04:14:03 +03:00
Watch route changes (browser back and forward)
This commit is contained in:
+2
-3
@@ -1,18 +1,17 @@
|
||||
<template>
|
||||
<div>
|
||||
<form-wizard @on-complete="onComplete"
|
||||
shape="circle"
|
||||
shape="square"
|
||||
color="gray"
|
||||
@on-loading="setLoading"
|
||||
@on-error="setError"
|
||||
class="card" ref="wizard">
|
||||
<tab-content title="Personal details"
|
||||
route="/first"
|
||||
:before-change="validateAsync"
|
||||
icon="ti-user">
|
||||
</tab-content>
|
||||
<tab-content title="Additional Info"
|
||||
:before-change="validate"
|
||||
:before-change="validateAsync"
|
||||
route="/second"
|
||||
icon="ti-settings">
|
||||
</tab-content>
|
||||
|
||||
Reference in New Issue
Block a user