mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 10:16:38 +08:00
1 line
637 B
JavaScript
1 line
637 B
JavaScript
(window["RCDLjsonFunction"]=window["RCDLjsonFunction"]||[]).push([[7],{102:function(e,t,n){"use strict";n.r(t);var o=undefined;var r=RCDL.utilities.closest=function(e,t){if(!Element.prototype.matches){Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector}if(!Element.prototype.closest){Element.prototype.closest=function(e){var t=o;if(!document.documentElement.contains(t)){return null}do{if(t.matches(e)){return t}t=t.parentElement||t.parentNode}while(t!==null&&t.nodeType===1);return null}}for(;e&&e!==document;e=e.parentNode){if(e.matches(t)){return e}}return null};t["default"]=r}}]); |