From 1fe9284b3acc6564db69dd47e5d4b9d055944841 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 18 Oct 2023 14:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BE=E9=97=AE=E4=B8=9A=E7=BB=A9=E8=B7=9F?= =?UTF-8?q?=E8=B8=AA:=20=E6=8C=89=E4=B8=9A=E7=BB=A9=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/SaleStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/SaleStore.js b/src/stores/SaleStore.js index 6c4b692..efc85e0 100644 --- a/src/stores/SaleStore.js +++ b/src/stores/SaleStore.js @@ -506,8 +506,8 @@ class SaleStore { mData: mData[ykey].data, yData: Object.values(yData[ykey].data)[0], data: undefined, - })); - console.log(mergeYearMonth, ';;;;;;;;;;'); + yearML: Object.values(yData[ykey].data)[0]?.SumML || 0, // 整理排序用 + })).sort(comm.sortBy('yearML')).reverse(); runInAction(() => { this.salesTrade.loading = false; this.salesTrade[groupType] = mergeYearMonth;