update: 兼容以前代码 先返回body 这样会造成无法跟随滚动

This commit is contained in:
dap 2025-04-07 11:10:10 +08:00
parent 8f9006c96d
commit 4f2354b53a

View File

@ -27,5 +27,5 @@ export function getVxePopupContainer(_node?: HTMLElement): HTMLElement {
/**
* body
*/
return _node?.parentElement ?? document.body;
return document.body;
}