From 3399268f223010bb8c709c2e65c6431e5ef7ee5e Mon Sep 17 00:00:00 2001 From: kingsfighter Date: Mon, 21 Sep 2020 21:38:11 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE-?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=87=AA=E5=8A=A8=E8=B5=8B=E5=80=BCversion?= =?UTF-8?q?=202.=E4=BF=AE=E6=94=B9ehcache=E6=8C=81=E4=B9=85=E5=8C=96?= =?UTF-8?q?=E7=A3=81=E7=9B=98=E7=9A=84=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/dfm/addProject.html | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/dfm/addProject.html b/ruoyi-admin/src/main/resources/templates/dfm/addProject.html index b6e201053..c047bc377 100644 --- a/ruoyi-admin/src/main/resources/templates/dfm/addProject.html +++ b/ruoyi-admin/src/main/resources/templates/dfm/addProject.html @@ -562,23 +562,23 @@ if (null == v || "" == v) { return false; } - // $.ajax({ - // url: prefix + "/getLastVersion", - // data: "projectName=" + v, - // cache: false, - // success: function (json) { - // if (null == json || "" == json) { - // $("#version").val(1); - // hasOldVersion = false; - // resetForm(); - // } else //有相同项目,开始赋值 - // { - // hasOldVersion = true; - // oldProjectData = json; - // fillParams(); - // } - // } - // }); + $.ajax({ + url: prefix + "/getLastVersion", + data: "projectName=" + v, + cache: false, + success: function (json) { + if (null == json || "" == json) { + // $("#version").val(1); + hasOldVersion = false; + resetForm(); + } else //有相同项目,开始赋值 + { + hasOldVersion = true; + oldProjectData = json; + fillParams(); + } + } + }); }