The client-side rendered virtual DOM tree is not matching server-rendered content

最初写法:

报异常:

vue.js:597 [Vue warn]: 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 

, or missing . Bailing hydration and performing full client-side render.

 

 修改后:

The client-side rendered virtual DOM tree is not matching server-rendered content_第1张图片

换个行就好~~~~~~~奇葩问题!

你可能感兴趣的:(vue,h5,js)