diff --git a/snowy-admin-web/src/components/DragModal/index.vue b/snowy-admin-web/src/components/DragModal/index.vue index df8e5e6f..61526bc7 100644 --- a/snowy-admin-web/src/components/DragModal/index.vue +++ b/snowy-admin-web/src/components/DragModal/index.vue @@ -5,6 +5,7 @@ v-bind="$props" :width="modalWidth" :wrap-class-name="wrapClassName + fullscreenClass" + @cancel="handleCancel" > @@ -155,9 +156,6 @@ changeWidth(width) { this.modalWidth = width }, - getPopupContainer(trigger) { - return trigger?.parentElement ?? document.body - }, handleFullScreen(e) { e?.stopPropagation() e?.preventDefault()