mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
update url address when changing the settings on the statistics analysis page
This commit is contained in:
+12
-1
@@ -107,7 +107,18 @@ const router = createRouter({
|
||||
{
|
||||
path: '/statistics/transaction',
|
||||
component: StatisticsTransactionPage,
|
||||
beforeEnter: checkLogin
|
||||
beforeEnter: checkLogin,
|
||||
props: route => ({
|
||||
initAnalysisType: route.query.analysisType,
|
||||
initChartDataType: route.query.chartDataType,
|
||||
initChartType: route.query.chartType,
|
||||
initChartDateType: route.query.chartDateType,
|
||||
initStartTime: route.query.startTime,
|
||||
initEndTime: route.query.endTime,
|
||||
initFilterAccountIds: route.query.filterAccountIds,
|
||||
initFilterCategoryIds: route.query.filterCategoryIds,
|
||||
initSortingType: route.query.sortingType
|
||||
})
|
||||
},
|
||||
{
|
||||
path: '/account/list',
|
||||
|
||||
Reference in New Issue
Block a user