fix: fix server side judge (close #4787) (#4788)
fix: fix server side judge (close #4787) (#4788)

* fix: fix server side judge (close #4787)

* fix: use window.HTMLElement judge (close #4787)
nolimits4web/Swiper,nolimits4web/Swiper