mirror of
https://gitee.com/dromara/Jpom.git
synced 2024-11-29 18:38:32 +08:00
fix ssh 管理独立 tab 页面使用默认的字符串排序
This commit is contained in:
parent
7117cb50db
commit
6be4be6325
@ -9,7 +9,7 @@
|
||||
|
||||
1. 【server】修复 没有端口的容器重建页面异常(感谢@冰淇淋还是冰激凌)
|
||||
2. 【server】修复 工作空间菜单配置错误(感谢@Again... .)
|
||||
3.
|
||||
3. 【server】优化 ssh 管理独立 tab 页面使用默认的字符串排序
|
||||
|
||||
------
|
||||
|
||||
|
@ -102,9 +102,9 @@ public class SshController extends BaseServerController {
|
||||
String group = sshModel.getGroup();
|
||||
String groupId = SecureUtil.sha1(StrUtil.emptyToDefault(group, StrUtil.EMPTY));
|
||||
String groupId2 = StrUtil.format("g_{}", groupId);
|
||||
groupNode.computeIfAbsent(groupId, s -> new TreeNode<>(groupId2, StrUtil.SLASH, group, 0));
|
||||
groupNode.computeIfAbsent(groupId, s -> new TreeNode<>(groupId2, StrUtil.SLASH, group, sshModel.getName()));
|
||||
//
|
||||
TreeNode<String> treeNode = new TreeNode<>(sshModel.getId(), groupId2, sshModel.getName(), 0);
|
||||
TreeNode<String> treeNode = new TreeNode<>(sshModel.getId(), groupId2, sshModel.getName(), sshModel.getName());
|
||||
Map<String, Object> extra = new HashMap<>();
|
||||
extra.put("fileDirs", sshModel.getFileDirs());
|
||||
extra.put("isLeaf", true);
|
||||
|
Loading…
Reference in New Issue
Block a user