feat:蜂窝图组件实现
This commit is contained in:
@@ -56,7 +56,7 @@ export const clickoutside = {
|
||||
let path = e.path || (e.composedPath && e.composedPath());
|
||||
top: for (let i = 0; i < path.length; i++) {
|
||||
for (let j = 0; j < exceptClassName.length; j++) {
|
||||
if (path[i].className && path[i].className.indexOf(exceptClassName[j]) != -1) {
|
||||
if (path[i].className && path[i].className.indexOf && path[i].className.indexOf(exceptClassName[j]) != -1) {
|
||||
flag = false;
|
||||
break top;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user