Layui 之layedit动态赋值

 

 

/**
* 设置编辑器内容
* @param {[type]} index 编辑器索引
* @param {[type]} content 要设置的内容
* @param {[type]} flag 是否追加模式
*/
layedit.setContent(index, content, flag);
flag是true,是追加模式,
flag是false,赋值模式

 

posted @ 2021-08-11 09:45  样子2018  阅读(238)  评论(0编辑  收藏  举报