web的安全标准 #9307
live-in-a-dream
started this conversation in
General Discussions
web的安全标准
#9307
Replies: 1 comment 1 reply
-
兼容性有点差,这需要进一步讨论🥲 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
runtime-dom.esm-bundler.js 文件里面有一行container.innerHTML = "";
请使用这个
trustedTypes.createHTML("")
或者
while (container.firstChild) {
container.removeChild(container.firstChild);
}
Beta Was this translation helpful? Give feedback.
All reactions