From dd2d7d3c0cc6080004a93d45a2acadfd545e272f Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Fri, 25 Oct 2019 17:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DCron=E5=8F=AF=E8=A7=86?= =?UTF-8?q?=E5=8C=96=E6=9F=A5=E7=9C=8B=E6=95=B0=E6=8D=AE=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/static/plugins/cronGen/cronGen.js | 3 +++ .../src/main/resources/static/plugins/cronGen/cronGen_en.js | 3 +++ 2 files changed, 6 insertions(+) diff --git a/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen.js b/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen.js index b5bbfabb..ba191776 100755 --- a/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen.js +++ b/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen.js @@ -455,6 +455,9 @@ var generate = function () { var activeTab = $("ul#CronGenTabs li.active a").prop("id"); + if (activeTab == undefined) { + return; + } var results = ""; switch (activeTab) { case "SecondlyTab": diff --git a/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen_en.js b/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen_en.js index 5e14551c..02f14580 100755 --- a/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen_en.js +++ b/xxl-job-admin/src/main/resources/static/plugins/cronGen/cronGen_en.js @@ -455,6 +455,9 @@ var generate = function () { var activeTab = $("ul#CronGenTabs li.active a").prop("id"); + if (activeTab == undefined) { + return; + } var results = ""; switch (activeTab) { case "SecondlyTab":