feat:告警日期默认当月
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user