From 3418204383d869a53381bbea2a5fc796de7af5f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Mon, 16 Oct 2023 15:11:16 +0300 Subject: [PATCH] Update InteractiveDoc.vue --- doc/steps/InteractiveDoc.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/steps/InteractiveDoc.vue b/doc/steps/InteractiveDoc.vue index fc8788cdc..acd6c5239 100644 --- a/doc/steps/InteractiveDoc.vue +++ b/doc/steps/InteractiveDoc.vue @@ -148,10 +148,10 @@ export default { this.formObject[field] = event.formData[field]; } - this.$router.push(this.items[event.pageIndex + 1].to); + this.$router.push(this.items[event.pageIndex + 1].route); }, prevPage(event) { - this.$router.push(this.items[event.pageIndex - 1].to); + this.$router.push(this.items[event.pageIndex - 1].route); }, complete() { this.$toast.add({severity:'success', summary:'Order submitted', detail: 'Dear, ' + this.formObject.firstname + ' ' + this.formObject.lastname + ' your order completed.'}); @@ -238,10 +238,10 @@ const nextPage = (event) => { formObject.value[field] = event.formData[field]; } - router.push(items.value[event.pageIndex + 1].to); + router.push(items.value[event.pageIndex + 1].route); }; const prevPage = (event) => { - router.push(items.value[event.pageIndex - 1].to); + router.push(items.value[event.pageIndex - 1].route); }; const complete = () => { toast.add({severity:'success', summary:'Order submitted', detail: 'Dear, ' + formObject.value.firstname + ' ' + formObject.value.lastname + ' your order completed.'}); @@ -574,10 +574,10 @@ export default { this.formObject[field] = event.formData[field]; } - this.$router.push(this.items[event.pageIndex + 1].to); + this.$router.push(this.items[event.pageIndex + 1].route); }, prevPage(event) { - this.$router.push(this.items[event.pageIndex - 1].to); + this.$router.push(this.items[event.pageIndex - 1].route); }, complete() { this.$toast.add({ severity: 'success', summary: 'Order submitted', detail: 'Dear, ' + this.formObject.firstname + ' ' + this.formObject.lastname + ' your order completed.' });