3.2—Template Syntax (HTML)

<div id="app">
    <p>This is a {{msg}}</p>
</div>
<script>
     Var vm=new Vue({
        El:'#app',
        Data:{
            Msg: '<span>dog</span>'
        }
    })
    // The result is This is a <span> dog</span>
</script>
<div id="apps">
    <p>This is a<span v-html="msg"></span></p>
</div>
<script>
    New Vue({
        Data:{
            Msg: '<span> dog</span>'
        }
    }).$mount('#apps');
    // The result is This is a dog
</script>

Using v-html Although the tag items can be recognized, the HTML code will be nested accordingly, so please use HTML interpolation only for trusted content, never use this for user-supplied content. Interpolation