From 39613b76214bdaa5f5db1f97821c3d7f49cb7aa1 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Wed, 15 Nov 2023 20:26:40 +0300 Subject: [PATCH] DynamicDialog demo typo fixes --- doc/dynamicdialog/EventsDoc.vue | 2 +- doc/dynamicdialog/PassingDataDoc.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dynamicdialog/EventsDoc.vue b/doc/dynamicdialog/EventsDoc.vue index 043d4ccee..59dc572f9 100644 --- a/doc/dynamicdialog/EventsDoc.vue +++ b/doc/dynamicdialog/EventsDoc.vue @@ -34,7 +34,7 @@ const showProducts = () => { const emit = defineEmits(['onCancel', 'onSave']) function buttonClick() { - emit('onCancel', {user: 'primetime'}); + emit('onCancel', {user: 'primetime'}); } <\/script> ` diff --git a/doc/dynamicdialog/PassingDataDoc.vue b/doc/dynamicdialog/PassingDataDoc.vue index 048eb32d1..8a70cd898 100644 --- a/doc/dynamicdialog/PassingDataDoc.vue +++ b/doc/dynamicdialog/PassingDataDoc.vue @@ -35,7 +35,7 @@ import { inject, onMounted } from "vue"; const dialogRef = inject('dialogRef'); onMounted(() => { - const params = this.dialogRef.data; // {user: 'primetime'} + const params = dialogRef.value.data; // {user: 'primetime'} }) ` },