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

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

 

 

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

如图

 

 

 

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

正常显示

 

 

 转载自https://www.cnblogs.com/SeaWxx/p/10157344.html

 

posted @ 2020-03-24 15:43  銀色飞行船  阅读(1175)  评论(0)    收藏  举报