2
0

feat:告警日期默认当月

This commit is contained in:
zhongzm
2025-06-20 17:37:05 +08:00
parent e4b00931c1
commit 0ac1ec9ca1

View File

@@ -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')