Browse Source

perf: 优化luna tree title (#10118)

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

2
apps/assets/api/mixin.py

@ -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,

Loading…
Cancel
Save