From 10a64b65ff823a443b591b2365d400a866056b67 Mon Sep 17 00:00:00 2001 From: FunkyZc Date: Sun, 22 May 2022 08:17:05 +0800 Subject: [PATCH] feat(Dialog): expose dialogContentRef (#7633) --- packages/components/dialog/src/dialog.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/components/dialog/src/dialog.vue b/packages/components/dialog/src/dialog.vue index c0a0a4b596..dd473659d4 100644 --- a/packages/components/dialog/src/dialog.vue +++ b/packages/components/dialog/src/dialog.vue @@ -34,6 +34,7 @@ > () const headerRef = ref() +const dialogContentRef = ref() const { visible, @@ -139,5 +141,6 @@ useDraggable(dialogRef, headerRef, draggable) defineExpose({ /** @description whether the dialog is visible */ visible, + dialogContentRef, })