From 7b26eb50bf5ca2097aca60646b397e97ca597edb Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 11 Jan 2025 18:08:39 +0800 Subject: [PATCH] fix trend analysis not reload data when set custom month range in mobile version --- src/views/mobile/statistics/TransactionPage.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/mobile/statistics/TransactionPage.vue b/src/views/mobile/statistics/TransactionPage.vue index a1573fdd..ae417a47 100644 --- a/src/views/mobile/statistics/TransactionPage.vue +++ b/src/views/mobile/statistics/TransactionPage.vue @@ -728,7 +728,7 @@ export default { } else if (this.analysisType === StatisticsAnalysisType.TrendAnalysis) { const chartDateType = getDateTypeByDateRange(getYearMonthFirstUnixTime(startTime), getYearMonthLastUnixTime(endTime), this.firstDayOfWeek, DateRangeScene.TrendAnalysis); - this.statisticsStore.updateTransactionStatisticsFilter({ + changed = this.statisticsStore.updateTransactionStatisticsFilter({ trendChartDateType: chartDateType, trendChartStartYearMonth: startTime, trendChartEndYearMonth: endTime