[Update] 还原一些

pull/3121/head
ibuler 2019-08-14 20:26:05 +08:00
parent c84df42ff4
commit 907d93bcad
1 changed files with 1 additions and 1 deletions

View File

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