code refactor

This commit is contained in:
MaysWind
2024-06-29 17:12:02 +08:00
parent c951285049
commit d9c8142c51
10 changed files with 64 additions and 60 deletions
@@ -258,7 +258,8 @@ import { useStatisticsStore } from '@/stores/statistics.js';
import datetimeConstants from '@/consts/datetime.js';
import statisticsConstants from '@/consts/statistics.js';
import { getNameByKeyValue, limitText, formatPercent } from '@/lib/common.js'
import { getNameByKeyValue, limitText } from '@/lib/common.js'
import { formatPercent } from '@/lib/numeral.js'
import {
getShiftedDateRangeAndDateType,
getDateTypeByDateRange,