处理筛选bug

This commit is contained in:
庞东林
2022-01-25 14:51:52 +08:00
parent 2d2248ce16
commit e9c2f20bc8
2 changed files with 26 additions and 6 deletions

View File

@@ -7,6 +7,9 @@
* @returns
*/
function queryParentByClass(el, parentClass) {
if(!el){
return;
}
if (el === document) {
return;
}