diff --git a/src/views/desktop/statistics/TransactionPage.vue b/src/views/desktop/statistics/TransactionPage.vue index 22be9820..1c126d01 100644 --- a/src/views/desktop/statistics/TransactionPage.vue +++ b/src/views/desktop/statistics/TransactionPage.vue @@ -448,7 +448,7 @@ export default { } else if (this.queryAnalysisType === statisticsConstants.allAnalysisTypes.TrendAnalysis) { return this.$locale.formatUnixTimeToLongYearMonth(this.userStore, getYearMonthFirstUnixTime(this.query.trendChartStartYearMonth)); } else { - return []; + return ''; } }, queryEndTime() { @@ -457,7 +457,7 @@ export default { } else if (this.queryAnalysisType === statisticsConstants.allAnalysisTypes.TrendAnalysis) { return this.$locale.formatUnixTimeToLongYearMonth(this.userStore, getYearMonthLastUnixTime(this.query.trendChartEndYearMonth)); } else { - return []; + return ''; } }, allAnalysisTypes() { diff --git a/src/views/mobile/statistics/TransactionPage.vue b/src/views/mobile/statistics/TransactionPage.vue index 95f2f3e4..90c648e4 100644 --- a/src/views/mobile/statistics/TransactionPage.vue +++ b/src/views/mobile/statistics/TransactionPage.vue @@ -134,7 +134,7 @@ - + - {{ dateRangeName(query) }} + {{ dateRangeName() }} - +