perf: 优化luna tree title (#10118)

Co-authored-by: feng <1304903146@qq.com>
pull/10119/head
fit2bot 2 years ago committed by GitHub
parent 1c93d7f0a3
commit 90cbf653ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save