fix: 修改时间范围选择器以使用当天的开始时间
This commit is contained in:
@@ -87,7 +87,7 @@ let queryRangePicker = ref<[string, string]>(['', '']);
|
|||||||
const ranges = ref([
|
const ranges = ref([
|
||||||
{
|
{
|
||||||
label: t('views.perfManage.customTarget.toDay'),
|
label: t('views.perfManage.customTarget.toDay'),
|
||||||
value: [dayjs().startOf('hour'), dayjs()],
|
value: [dayjs().startOf('day'), dayjs()],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('views.perfManage.customTarget.ago1Hour'),
|
label: t('views.perfManage.customTarget.ago1Hour'),
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ let queryRangePicker = ref<[string, string]>(['', '']);
|
|||||||
const ranges = ref([
|
const ranges = ref([
|
||||||
{
|
{
|
||||||
label: t('views.perfManage.customTarget.toDay'),
|
label: t('views.perfManage.customTarget.toDay'),
|
||||||
value: [dayjs().startOf('hour'), dayjs()],
|
value: [dayjs().startOf('day'), dayjs()],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('views.perfManage.customTarget.ago1Hour'),
|
label: t('views.perfManage.customTarget.ago1Hour'),
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ const neInfoStore = useNeInfoStore();
|
|||||||
const ranges = ref([
|
const ranges = ref([
|
||||||
{
|
{
|
||||||
label: t('views.perfManage.customTarget.toDay'),
|
label: t('views.perfManage.customTarget.toDay'),
|
||||||
value: [dayjs().startOf('hour'), dayjs()],
|
value: [dayjs().startOf('day'), dayjs()],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t('views.perfManage.customTarget.ago1Hour'),
|
label: t('views.perfManage.customTarget.ago1Hour'),
|
||||||
|
|||||||
Reference in New Issue
Block a user