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

@@ -39,8 +39,7 @@
(t.innerHTML = i),
(i = null),
(t = t.getElementsByTagName("svg")[0]) &&
(t.setAttribute("aria-hidden", "true"),
(t.style.position = "absolute"),
((t.style.position = "absolute"),
(t.style.width = 0),
(t.style.height = 0),
(t.style.overflow = "hidden"),