refactor: #7090 for DynamicDialog
parent
cfdee00127
commit
fc6acef8d8
|
@ -13,6 +13,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { uuid } from '@primeuix/utils';
|
||||
import Dialog from 'primevue/dialog';
|
||||
import DynamicDialogEventBus from 'primevue/dynamicdialogeventbus';
|
||||
import BaseDynamicDialog from './BaseDynamicDialog.vue';
|
||||
|
@ -31,7 +32,7 @@ export default {
|
|||
currentInstance: null,
|
||||
mounted() {
|
||||
this.openListener = ({ instance }) => {
|
||||
const key = this.$attrSelector + '_dynamic_dialog';
|
||||
const key = uuid() + '_dynamic_dialog';
|
||||
|
||||
instance.visible = true;
|
||||
instance.key = key;
|
||||
|
|
Loading…
Reference in New Issue