Sfoglia il codice sorgente

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

xuxueli 5 anni fa
parent
commit
550e5ffe60

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

@@ -418,7 +418,7 @@ $(function() {
 		$(".remote_panel").show();	// remote
 
         // remove-cronGen
-        $("input[name=jobCron]").show().siblings().remove();
+        $("#addModal .form input[name='jobCron']").show().siblings().remove();
 
 		$("#addModal .form input[name='executorHandler']").removeAttr("readonly");
 	});
@@ -582,7 +582,7 @@ $(function() {
         $("#updateModal .form .form-group").removeClass("has-error");
 
 		// remove-cronGen
-		$("input[name=jobCron]").show().siblings().remove();
+        $("#updateModal .form input[name='jobCron']").show().siblings().remove();
 	});
 
     /**