mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-19 09:14:27 +08:00
fix the bug that the first day of week setting does not take effect in the transaction list page in desktop version
This commit is contained in:
@@ -856,7 +856,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init(query) {
|
init(query) {
|
||||||
let dateRange = getDateRangeByDateType(query.dateType ? parseInt(query.dateType) : undefined, self.firstDayOfWeek);
|
let dateRange = getDateRangeByDateType(query.dateType ? parseInt(query.dateType) : undefined, this.firstDayOfWeek);
|
||||||
|
|
||||||
if (!dateRange &&
|
if (!dateRange &&
|
||||||
query.dateType === datetimeConstants.allDateRanges.Custom.type.toString() &&
|
query.dateType === datetimeConstants.allDateRanges.Custom.type.toString() &&
|
||||||
|
|||||||
Reference in New Issue
Block a user