简单地说,就是根据官网的示例 v-html可以对 <span style="color:red">this should be red</span>进行编译,但是无法对 <span class = "redColor">this should be red</span>里的class进行编译,如何解决呢?
<span style="color:red">this should be red</span>
<span class = "redColor">this should be red</span>
胡说叔叔
相关分类