mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 02:52:49 +08:00
修复多个表单之间富文本编辑器读取错误的问题;
This commit is contained in:
@@ -1346,7 +1346,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
||||
var dataField = data.field;
|
||||
|
||||
// 富文本数据处理
|
||||
var editorList = document.querySelectorAll(".editor");
|
||||
var editorList = $(v).closest('.layui-form').find('.editor')
|
||||
if (editorList.length > 0) {
|
||||
$.each(editorList, function (i, v) {
|
||||
var name = $(this).attr("name");
|
||||
|
||||
Reference in New Issue
Block a user