wangEdit 富文本编辑器 回显数据问题

editor.txt.html('${model.content}');

 


官方用单引号 但是回显的时候出错
如图

 



解决方案
editor.txt.html(`${model.content}`);
使用波浪号 `` 反单引号

 


正常显示

 




posted @ 2018-12-21 18:08  Sea_wxx  阅读(3940)  评论(1编辑  收藏  举报