Skip to content

Commit 3418204

Browse files
Update InteractiveDoc.vue
1 parent 3d1fe21 commit 3418204

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/steps/InteractiveDoc.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,10 +148,10 @@ export default {
148148
this.formObject[field] = event.formData[field];
149149
}
150150
151-
this.$router.push(this.items[event.pageIndex + 1].to);
151+
this.$router.push(this.items[event.pageIndex + 1].route);
152152
},
153153
prevPage(event) {
154-
this.$router.push(this.items[event.pageIndex - 1].to);
154+
this.$router.push(this.items[event.pageIndex - 1].route);
155155
},
156156
complete() {
157157
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) => {
238238
formObject.value[field] = event.formData[field];
239239
}
240240
241-
router.push(items.value[event.pageIndex + 1].to);
241+
router.push(items.value[event.pageIndex + 1].route);
242242
};
243243
const prevPage = (event) => {
244-
router.push(items.value[event.pageIndex - 1].to);
244+
router.push(items.value[event.pageIndex - 1].route);
245245
};
246246
const complete = () => {
247247
toast.add({severity:'success', summary:'Order submitted', detail: 'Dear, ' + formObject.value.firstname + ' ' + formObject.value.lastname + ' your order completed.'});
@@ -574,10 +574,10 @@ export default {
574574
this.formObject[field] = event.formData[field];
575575
}
576576
577-
this.$router.push(this.items[event.pageIndex + 1].to);
577+
this.$router.push(this.items[event.pageIndex + 1].route);
578578
},
579579
prevPage(event) {
580-
this.$router.push(this.items[event.pageIndex - 1].to);
580+
this.$router.push(this.items[event.pageIndex - 1].route);
581581
},
582582
complete() {
583583
this.$toast.add({ severity: 'success', summary: 'Order submitted', detail: 'Dear, ' + this.formObject.firstname + ' ' + this.formObject.lastname + ' your order completed.' });

0 commit comments

Comments
 (0)