Bläddra i källkod

跑马灯设置模块调整

ZhangWenQiang 6 år sedan
förälder
incheckning
950d396dfd
1 ändrade filer med 9 tillägg och 0 borttagningar
  1. 9 0
      src/main/webapp/webpage/modules/hpadvertisement/hpBroadcastForm.jsp

+ 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');//校验表单