From db7fa6a91b9534ac90e219b6f554c54c43c83a5a Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期三, 16 八月 2023 09:28:15 +0800 Subject: [PATCH] update --- management/guns-admin/src/main/webapp/static/modular/system/tSystemBulletin/tSystemBulletin_info.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/management/guns-admin/src/main/webapp/static/modular/system/tSystemBulletin/tSystemBulletin_info.js b/management/guns-admin/src/main/webapp/static/modular/system/tSystemBulletin/tSystemBulletin_info.js index 7dcb9f5..f642ef3 100644 --- a/management/guns-admin/src/main/webapp/static/modular/system/tSystemBulletin/tSystemBulletin_info.js +++ b/management/guns-admin/src/main/webapp/static/modular/system/tSystemBulletin/tSystemBulletin_info.js @@ -62,6 +62,9 @@ * 收集数据 */ TSystemBulletinInfoDlg.collectData = function() { + if(UE.getEditor('content').hasContents()){ + $('#content').val(UE.getEditor('content').getContent()); + } this .set('id') .set('introduce') @@ -145,7 +148,7 @@ } /** - * 提交修改 + * 提交修改发送 */ TSystemBulletinInfoDlg.editSend = function() { @@ -169,6 +172,6 @@ } $(function() { - UE.getEditor('content'); + TSystemBulletinInfoDlg.editor = UE.getEditor('content'); Feng.initValidator("systemBulletinInfoForm", TSystemBulletinInfoDlg.validateFields); }); -- Gitblit v1.7.1