refactor: refs #8120 use only defineProps
This commit is contained in:
parent
19e8b948ae
commit
b52956d27d
|
@ -1,7 +1,7 @@
|
|||
<script setup>
|
||||
import { useDialogPluginComponent } from 'quasar';
|
||||
|
||||
const $props = defineProps({
|
||||
defineProps({
|
||||
id: {
|
||||
type: Number,
|
||||
required: true,
|
||||
|
@ -22,7 +22,7 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent();
|
|||
</script>
|
||||
<template>
|
||||
<QDialog ref="dialogRef" @hide="onDialogHide">
|
||||
<component :is="$props.summary" :id="$props.id" :class="$props.moduleClass" />
|
||||
<component :is="summary" :id="id" :class="moduleClass" />
|
||||
</QDialog>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in New Issue