feat: 使用 path 进行跳转

This commit is contained in:
xingyu4j
2025-10-20 15:42:23 +08:00
parent dd70dc0012
commit 03644613f3
5 changed files with 29 additions and 31 deletions

View File

@@ -46,7 +46,7 @@ const timeRangeConfig = {
const timeRangeType = ref(TimeRangeTypeEnum.DAY30); // 日期快捷选择按钮, 默认 30 天
/** 时间范围类型单选按钮选中 */
const handleTimeRangeTypeChange = async () => {
async function handleTimeRangeTypeChange() {
// 设置时间范围
let beginTime: Dayjs;
let endTime: Dayjs;
@@ -77,7 +77,7 @@ const handleTimeRangeTypeChange = async () => {
}
// 发送时间范围选中事件
await getOrderCountTrendComparison(beginTime, endTime);
};
}
/** 查询订单数量趋势对照数据 */
async function getOrderCountTrendComparison(beginTime: Dayjs, endTime: Dayjs) {