Kaynağa Gözat

跑马灯设置模块调整

ZhangWenQiang 6 yıl önce
ebeveyn
işleme
950d396dfd

+ 9 - 0
src/main/webapp/webpage/modules/hpadvertisement/hpBroadcastForm.jsp

@@ -16,6 +16,15 @@
             $(".salary_content").keyup(function(){
                 $(".t_h_s i").html($(".salary_content").val().length);
             })
+            //编辑
+            var id = "${hpBroadcast.id}";
+            if(id != null && id != ''){
+                var content = "${hpBroadcast.content}";
+                console.log("ss",content)
+                if(content){
+                    $(".t_h_s i").html(content.length);
+                }
+            }
 		});
 		function save() {
             var isValidate = jp.validateForm('#inputForm');//校验表单