mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 08:36:19 +08:00
refactor: package chart-ui integrated into plugins (#4238)
* refactor: package chart-ui integrated into plugins * fix: lint error
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
/**
|
||||
* Returns the parent node of the given element or the document body if the element is not provided.it
|
||||
*/
|
||||
export function getPopupContainer(node?: HTMLElement): HTMLElement {
|
||||
return (node?.parentNode as HTMLElement) ?? document.body;
|
||||
}
|
||||
|
Reference in New Issue
Block a user