update: 兼容以前代码 先返回body 这样会造成无法跟随滚动
This commit is contained in:
parent
8f9006c96d
commit
4f2354b53a
@ -27,5 +27,5 @@ export function getVxePopupContainer(_node?: HTMLElement): HTMLElement {
|
|||||||
/**
|
/**
|
||||||
* 兼容以前代码 先返回body 这样会造成无法跟随滚动
|
* 兼容以前代码 先返回body 这样会造成无法跟随滚动
|
||||||
*/
|
*/
|
||||||
return _node?.parentElement ?? document.body;
|
return document.body;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user