Uikit vuejs&;ukit html编辑器不显示内容

Uikit vuejs&;ukit html编辑器不显示内容,uikit,vue.js,Uikit,Vue.js,当我试图将内容(使用vue资源检索的运行时)放入textarea(htmleditor标记组件)中时,我使用UIKIT和vuejs作为前端 它不显示htmleditor中的内容 但是硬编码文本是有效的,当显示动态检索的数据时它不起作用 **html代码:** <textarea data-uk-htmleditor="{markdown:true,mode:'tab'}">{{hotel.description}}</textarea> 你可能应该这样做;将其绑定到表单

当我试图将内容(使用vue资源检索的运行时)放入textarea(htmleditor标记组件)中时,我使用UIKIT和vuejs作为前端

它不显示htmleditor中的内容

但是硬编码文本是有效的,当显示动态检索的数据时它不起作用

**html代码:**

<textarea data-uk-htmleditor="{markdown:true,mode:'tab'}">{{hotel.description}}</textarea>

你可能应该这样做;将其绑定到表单元素

<textarea data-uk-htmleditor="{markdown:true,mode:'tab'}" v-model="hotel.description"></textarea>

你可能应该这样做;将其绑定到表单元素

<textarea data-uk-htmleditor="{markdown:true,mode:'tab'}" v-model="hotel.description"></textarea>

``$.UIkit.htmleditor('#description',{/*options*/});变量编辑器=$('.CodeMirror')[0].CodeMirror;editor.setValue(this.hotel.description);`。htmleditor(“#描述”,{/*选项*/});变量编辑器=$('.CodeMirror')[0].CodeMirror;editor.setValue(this.hotel.description)```