Fixed #4443 - DynamicDialog: passing pt when opening new dialogs
parent
b3dc8b0c22
commit
0e97a92a15
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<template v-for="(instance, key) in instanceMap" :key="key">
|
<template v-for="(instance, key) in instanceMap" :key="key">
|
||||||
<DDialog v-model:visible="instance.visible" :_instance="instance" v-bind="instance.options.props" :pt="pt" :unstyled="unstyled" @hide="onDialogHide(instance)" @after-hide="onDialogAfterHide">
|
<DDialog v-model:visible="instance.visible" :_instance="instance" v-bind="instance.options.props" @hide="onDialogHide(instance)" @after-hide="onDialogAfterHide">
|
||||||
<template v-if="instance.options.templates && instance.options.templates.header" #header>
|
<template v-if="instance.options.templates && instance.options.templates.header" #header>
|
||||||
<component v-for="(header, index) in getTemplateItems(instance.options.templates.header)" :is="header" :key="index + '_header'" v-bind="instance.options.emits"></component>
|
<component v-for="(header, index) in getTemplateItems(instance.options.templates.header)" :is="header" :key="index + '_header'" v-bind="instance.options.emits"></component>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue