wizard next/prev button fixed..

This commit is contained in:
Cüneyt Şentürk 2021-05-30 17:35:19 +03:00
parent 7e3b1b600e
commit efe78c3283
2 changed files with 4 additions and 5 deletions

View File

@ -417,13 +417,14 @@ export default {
prev() {
if (this.active-- > 2);
history.back()
//history.back()
this.$router.push("/wizard/companies");
},
next() {
if (this.active++ > 2);
this.$router.push("/wizard/taxes");
},
},

View File

@ -132,11 +132,9 @@ export default {
methods: {
prev() {
this.active--;
if (this.active-- > 2);
if (this.active > 2) {
this.$router.push("/wizard/taxes");
}
},
finish() {