fix: 修改时间范围选择器以使用当天的开始时间

This commit is contained in:
TsMask
2025-06-26 20:41:42 +08:00
parent 93841a02ea
commit c5d7026fc5
3 changed files with 3 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ let queryRangePicker = ref<[string, string]>(['', '']);
const ranges = ref([
{
label: t('views.perfManage.customTarget.toDay'),
value: [dayjs().startOf('hour'), dayjs()],
value: [dayjs().startOf('day'), dayjs()],
},
{
label: t('views.perfManage.customTarget.ago1Hour'),

View File

@@ -87,7 +87,7 @@ let queryRangePicker = ref<[string, string]>(['', '']);
const ranges = ref([
{
label: t('views.perfManage.customTarget.toDay'),
value: [dayjs().startOf('hour'), dayjs()],
value: [dayjs().startOf('day'), dayjs()],
},
{
label: t('views.perfManage.customTarget.ago1Hour'),

View File

@@ -37,7 +37,7 @@ const neInfoStore = useNeInfoStore();
const ranges = ref([
{
label: t('views.perfManage.customTarget.toDay'),
value: [dayjs().startOf('hour'), dayjs()],
value: [dayjs().startOf('day'), dayjs()],
},
{
label: t('views.perfManage.customTarget.ago1Hour'),