1.添加项目-移除自动赋值version

2.修改ehcache持久化磁盘的异常
This commit is contained in:
kingsfighter 2020-09-21 21:38:11 +08:00
parent 9afaf7bb79
commit 3399268f22
1 changed files with 17 additions and 17 deletions

View File

@ -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) {
$.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();
// }
// }
// });
hasOldVersion = false;
resetForm();
} else //有相同项目,开始赋值
{
hasOldVersion = true;
oldProjectData = json;
fillParams();
}
}
});
}