Skip to content

Commit

Permalink
fix(dialog): attach="body" destroyOnClose 嵌套超过三层关闭报错 (#3619)
Browse files Browse the repository at this point in the history
* fix(table): primaryTableRef 未绑定,导致其导出的方法无法使用

closed #3524

* fix(dialog): attach="body" destroyOnClose 嵌套超过三层关闭报错
  • Loading branch information
AuYuHui authored Nov 22, 2023
1 parent 0fae504 commit d714cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export default defineComponent({
if (value) {
if ((isModal.value && !props.showInAttachedElement) || isFullScreen.value) {
if (props.preventScrollThrough) {
document.head.appendChild(styleEl.value);
document.body.appendChild(styleEl.value);
}

nextTick(() => {
Expand Down

0 comments on commit d714cf9

Please sign in to comment.