diff --git a/app/admin/logic/store_product_price/StoreProductPriceLogic.php b/app/admin/logic/store_product_price/StoreProductPriceLogic.php index 7045f487..ec7a3584 100644 --- a/app/admin/logic/store_product_price/StoreProductPriceLogic.php +++ b/app/admin/logic/store_product_price/StoreProductPriceLogic.php @@ -281,6 +281,7 @@ class StoreProductPriceLogic extends BaseLogic $item['price'] = $item['purchase']; } } + asort($list); $data = [ 'name' => '价格趋势', 'series' => [['name' => '价格', 'value' => array_column($list, 'price')]],