Update InteractiveDoc.vue
parent
3d1fe21808
commit
3418204383
|
@ -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.' });
|
||||
|
|
Loading…
Reference in New Issue