diff --git a/src/index.js b/src/index.js index 0edae37..136c570 100644 --- a/src/index.js +++ b/src/index.js @@ -102,7 +102,9 @@ function clickShowHideEle(e) { break; } } - if (!existEqual) el.setAttribute('hidden', ''); + + if (!existEqual) + el.setAttribute('hidden', '') } }