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() { prev() {
if (this.active-- > 2); if (this.active-- > 2);
history.back() //history.back()
this.$router.push("/wizard/companies"); this.$router.push("/wizard/companies");
}, },
next() { next() {
if (this.active++ > 2); if (this.active++ > 2);
this.$router.push("/wizard/taxes"); this.$router.push("/wizard/taxes");
}, },
}, },

View File

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