“Error while initializing app DOMException: Failed to execute 'appendChild' on 'Node': This node type does not support this method.”
这个问题是在项目部署之后出现的!
warning:The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.
直接在疑似产生The client-side rendered virtual DOM tree is not matching server-rendered content
问题的代码上包裹一层<client-only>
标签,
直接不让后台渲染这部分代码就解决这个问题了
本站为非盈利网站,如果您喜欢这篇文章,欢迎支持我们继续运营!
本站主要用于日常笔记的记录和生活日志。本站不保证所有内容信息可靠!(大多数文章属于搬运!)如有版权问题,请联系我立即删除:“abcdsjx@126.com”。
QQ: 1164453243
邮箱: abcdsjx@126.com