mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-01 22:58:59 +00:00
perf: 优化luna tree title (#10118)
Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
parent
1c93d7f0a3
commit
90cbf653ac
@ -52,7 +52,7 @@ class SerializeToTreeNodeMixin:
|
|||||||
{
|
{
|
||||||
'id': str(asset.id),
|
'id': str(asset.id),
|
||||||
'name': asset.name,
|
'name': asset.name,
|
||||||
'title': asset.address,
|
'title': f'{asset.address}\n{asset.comment}',
|
||||||
'pId': get_pid(asset),
|
'pId': get_pid(asset),
|
||||||
'isParent': False,
|
'isParent': False,
|
||||||
'open': False,
|
'open': False,
|
||||||
|
Loading…
Reference in New Issue
Block a user