vue中HTML模板的限制——is

https://segmentfault.com/a/1190000017262264?utm_source=tag-newest

问题如下:

 

 

 

 直接在tbody中使用<row>会导致渲染出的<tr>位于<table>之外。

解决方法:使用is标识

  

 

 

 类似的还有ul和ol中的li,select中的option等。

 

  

posted @ 2020-02-18 13:40  聂小恶  阅读(522)  评论(0)    收藏  举报