convert string to Dom in vuejs : <p>recently I want to convert a stirng to Dom in a vue component, but it does't work as my expectation. My code looks like this:</p>

<pre><code>  // what I wrote in the template
  &lt;div id="log"&gt;
      {{libText}}
  &lt;/div&gt;

  // what I wrote in js
        Vue.component(...  , {
        template: ...  ,
        data: function () {
               return ...     
            }
        },
        computed: {           
            libText:function(){
                var str="&lt;p&gt;some html&lt;/p&gt;";
                var div = document.createElement('div');
                div.innerHTML = str;
                return div;
            }
        },
        methods:{...}
        })
</code></pre>

<p>The result I get is a string "[object HTMLDivElement]" rather than a Dom.
 It would be greatful if anyone can help me solve this problem</p>
