mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 23:47:40 +00:00
Bugfix (#2252)
* [Update] 修改心跳偶人时间 * [Update] 修改Node比较 * [Bugfix] 修复bug
This commit is contained in:
@@ -49,7 +49,9 @@ class TreeNode:
|
||||
return False
|
||||
elif not self.isParent and other.isParent:
|
||||
return True
|
||||
return self.id > other.id
|
||||
if self.pId != other.pId:
|
||||
return self.pId > other.pId
|
||||
return self.name > other.name
|
||||
|
||||
def __eq__(self, other):
|
||||
return self.id == other.id
|
||||
|
Reference in New Issue
Block a user