提交 907d93bc 编写于 作者: baltery's avatar baltery

[Update] 还原一些

上级 c84df42f
......@@ -211,7 +211,7 @@ class AssetsAmountMixin:
cached = cache.get(cache_key)
if cached is not None:
return cached
assets_amount = self.get_all_assets().only('id').count()
assets_amount = self.get_all_assets().count()
self.assets_amount = assets_amount
return assets_amount
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册