mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-30 10:58:14 +08:00
修改用户
This commit is contained in:
parent
856304df5e
commit
20d30e5417
@ -19,7 +19,6 @@
|
||||
13. 新增清空文件缓存、临时数据缓存
|
||||
14. 在线查看Jpom运行日志
|
||||
15. 新增linux在线升级
|
||||
16. 分发项目新增清空发布防止新旧jar冲突
|
||||
|
||||
### 解决BUG、优化功能
|
||||
|
||||
@ -36,6 +35,8 @@
|
||||
11. 【Agent】删除阿里云oss构建,已经有在线构建功能代替
|
||||
12. 【Server】修改证书名称和导出证书问题
|
||||
13. 打包方式改为一个可执行的jar
|
||||
14. 【Server】解决编辑用户页面json转换异常(感谢@JAVA jesion)
|
||||
15. 分发项目新增清空发布防止新旧jar冲突
|
||||
|
||||
### 升级注意事项
|
||||
|
||||
|
@ -191,6 +191,8 @@
|
||||
layui.stope(e);
|
||||
}
|
||||
|
||||
var nodeModels =#if($nodeModels)$nodeModels#else[]#end;
|
||||
|
||||
function loadSuccess() {
|
||||
var treeNodes = [];
|
||||
layui.use(['tree'], function () {
|
||||
@ -199,7 +201,7 @@
|
||||
|
||||
//加载树
|
||||
function loadNode() {
|
||||
var nodeModels =#if($nodeModels)$nodeModels#else[]#end;
|
||||
|
||||
if (nodeModels && nodeModels.length > 0) {
|
||||
for (var j = 0; j < nodeModels.length; j++) {
|
||||
var nodeModel = nodeModels[j];
|
||||
@ -274,11 +276,7 @@
|
||||
|
||||
//渲染选中节点
|
||||
function loadProjects() {
|
||||
var userItem = '$!userItem';
|
||||
if (!userItem) {
|
||||
return false;
|
||||
}
|
||||
userItem = eval("(" + userItem + ")");
|
||||
var userItem = #if($userItem)$userItem#else{}#end;
|
||||
var nodeRole = userItem.nodeRole;
|
||||
for (var key in nodeRole) {
|
||||
var item = nodeRole[key];
|
||||
@ -343,14 +341,6 @@
|
||||
|
||||
//勾选的项目 排除目录
|
||||
function getCheckProject(data) {
|
||||
var nodeModels = '$!nodeModels';
|
||||
if (!nodeModels) {
|
||||
return data;
|
||||
}
|
||||
nodeModels = eval("(" + nodeModels + ")");
|
||||
if (!nodeModels || nodeModels.length <= 0) {
|
||||
return data;
|
||||
}
|
||||
var projects = {};
|
||||
for (var i = 0; i < nodeModels.length; i++) {
|
||||
var node = nodeModels[i];
|
||||
|
Loading…
Reference in New Issue
Block a user