feat:告警日期默认当月
This commit is contained in:
1 parent
e4b00931c1
commit
0ac1ec9ca1
1 file changed
+2
-2
@@ -23,8 +23,8 @@ const getSiteList = async () => {
|
|||||||
|
|
||||||
// 日期选择器相关
|
// 日期选择器相关
|
||||||
const now = dayjs()
|
const now = dayjs()
|
||||||
const startOfToday = now.startOf('day')
|
const startOfMonth = now.startOf('month')
|
||||||
const dateRange = ref<[any, any]>([startOfToday, now])
|
const dateRange = ref<[any, any]>([startOfMonth, now])
|
||||||
|
|
||||||
// 告警相关
|
// 告警相关
|
||||||
const activeMainTab = ref('Alerts')
|
const activeMainTab = ref('Alerts')
|
||||||
|
|||||||
Reference in new issue
Block a user