diff --git a/src/views/device/alerts/index.vue b/src/views/device/alerts/index.vue index 5d86479..6dbc2be 100644 --- a/src/views/device/alerts/index.vue +++ b/src/views/device/alerts/index.vue @@ -23,8 +23,8 @@ const getSiteList = async () => { // 日期选择器相关 const now = dayjs() -const startOfToday = now.startOf('day') -const dateRange = ref<[any, any]>([startOfToday, now]) +const startOfMonth = now.startOf('month') +const dateRange = ref<[any, any]>([startOfMonth, now]) // 告警相关 const activeMainTab = ref('Alerts')