From ef04ce57881e6a338b10d596c5eb76b2220598bf Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 31 八月 2023 11:16:49 +0800
Subject: [PATCH] 更新版本

---
 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