I encountered a problem. When the object is displayed in the pre tag, the function disappears.
For example, if you customize an object
test:{
title:'aaa',
fomatter:function(){
return 'aa'
}
},
Fill the code with v-html
<pre id="editor" v-html="test"></pre>
The function is still missing. Is there any way to display the function?