From 4be70ff3dafba182dbd29f37c0451eac8e38734c Mon Sep 17 00:00:00 2001 From: Bai Date: Fri, 18 Aug 2023 15:43:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=B5=84=E4=BA=A7?= =?UTF-8?q?=E6=A0=91=E5=AD=90=E8=8A=82=E7=82=B9=E5=88=9B=E5=BB=BA=E5=90=8E?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E8=8E=B7=E5=8F=96=E5=88=B0=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/api/mixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/api/mixin.py b/apps/assets/api/mixin.py index 7d3c1c7a8..6dadbcdaa 100644 --- a/apps/assets/api/mixin.py +++ b/apps/assets/api/mixin.py @@ -42,7 +42,7 @@ class SerializeToTreeNodeMixin: 'name': _name(node), 'title': _name(node), 'pId': node.parent_key, - 'isParent': node.assets_amount > 0, + 'isParent': True, 'open': _open(node), 'meta': { 'data': {