小小白每天不奋斗
2022-06-14 17:44
采纳率: 90%
浏览 22

tinymce里面的内容第一次不显示

tinymce里面的内容第一次不显示,第二次打开才显示


```javascript
 this.$nextTick(async () => {
        if (formData) {
          console.log('sdsdsds')
         await tinymce.get('tinymce').setContent(formData.content)
             console.log('sdsdsds1111111111')
          this.form.setFieldsValue({
            id: formData.id,
            title: formData.title,
            keywords: formData.keywords,
            fbr: formData.fbr,
            fbsj: new moment(new Date(formData.fbsj)),
            f_remark: formData.f_remark,
            viewcount: formData.viewcount,
            istop: formData.istop,
            source: formData.source,
            content: formData.content,
           
          })


```

2条回答 默认 最新

相关推荐 更多相似问题