DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
打包到线上报错了,看网上解决方案把v-if改成了v-show还是会报错。
DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.
打包到线上报错了,看网上解决方案把v-if改成了v-show还是会报错。
10 回答11.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
3 回答5.1k 阅读✓ 已解决
3 回答1.8k 阅读✓ 已解决
在 mounted 生命周期时才能使用 浏览器的 api