runtime-dom.esm-bundler.js 不安全问题
Vue version
3.3.4
Link to minimal reproduction
runtime-dom.esm-bundler.js
Steps to reproduce
runtime-dom.esm-bundler.js 1430 line container.innerHTML = "";
What is expected?
while (container.firstChild) { container.removeChild(container.firstChild); }
What is actually happening?
Uncaught TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment. This document requires 'TrustedHTML' assignment.
System Info
No response
Any additional comments?
No response