fix: 修复aria-hidden报错 (#1192)

This commit is contained in:
xiaoming
2025-01-04 02:19:38 +08:00
committed by GitHub
parent 79cd159154
commit 551292078e
15 changed files with 886 additions and 858 deletions

View File

@@ -28,8 +28,7 @@
c = document.createElement("div");
(c.innerHTML = e._iconfont_svg_string_2208059),
(c = c.getElementsByTagName("svg")[0]) &&
(c.setAttribute("aria-hidden", "true"),
(c.style.position = "absolute"),
((c.style.position = "absolute"),
(c.style.width = 0),
(c.style.height = 0),
(c.style.overflow = "hidden"),