perf: 优化luna tree title (#10118)

Co-authored-by: feng <1304903146@qq.com>
pull/10119/head
fit2bot 2023-04-03 16:47:14 +08:00 committed by GitHub
parent 1c93d7f0a3
commit 90cbf653ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class SerializeToTreeNodeMixin:
{
'id': str(asset.id),
'name': asset.name,
'title': asset.address,
'title': f'{asset.address}\n{asset.comment}',
'pId': get_pid(asset),
'isParent': False,
'open': False,