DynamicDialog demo typo fixes

pull/4829/head
tugcekucukoglu 2023-11-15 20:26:40 +03:00
parent 80b5aaefd3
commit 39613b7621
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ const showProducts = () => {
const emit = defineEmits(['onCancel', 'onSave'])
function buttonClick() {
emit('onCancel', {user: 'primetime'});
emit('onCancel', {user: 'primetime'});
}
<\/script>
`

View File

@ -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'}
})
`
},