相关文章推荐
乖乖的橙子  ·  开心博客 - WPF ...·  2 年前    · 
个性的电影票  ·  ingress-nginx 中 ...·  2 年前    · 

如果输入表单中包含 4 位字符,则 setState 为“isPreViewVideo: true”,如果小于 false

当 state 为 true 时它工作正常,但是当 state 为 false 时,我遇到如下错误。

 DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

有没有办法避免或解决此错误?

原文由 negabaro 发布,翻译遵循 CC BY-SA 4.0 许可协议

回复
阅读 238
1 个回答