Parcourir la source

Cron在线生成工具:任务新增、编辑框通过组件在线生成Cron表达式

xuxueli il y a 5 ans
Parent
révision
550e5ffe60

+ 2 - 2
xxl-job-admin/src/main/resources/static/js/jobinfo.index.1.js Voir le fichier

@@ -418,7 +418,7 @@ $(function() {
418 418
 		$(".remote_panel").show();	// remote
419 419
 
420 420
         // remove-cronGen
421
-        $("input[name=jobCron]").show().siblings().remove();
421
+        $("#addModal .form input[name='jobCron']").show().siblings().remove();
422 422
 
423 423
 		$("#addModal .form input[name='executorHandler']").removeAttr("readonly");
424 424
 	});
@@ -582,7 +582,7 @@ $(function() {
582 582
         $("#updateModal .form .form-group").removeClass("has-error");
583 583
 
584 584
 		// remove-cronGen
585
-		$("input[name=jobCron]").show().siblings().remove();
585
+        $("#updateModal .form input[name='jobCron']").show().siblings().remove();
586 586
 	});
587 587
 
588 588
     /**