diff --git a/src/views/iot/deviceParamAnalysis/index.vue b/src/views/iot/deviceParamAnalysis/index.vue
index e34fa0a5..2508c84b 100644
--- a/src/views/iot/deviceParamAnalysis/index.vue
+++ b/src/views/iot/deviceParamAnalysis/index.vue
@@ -35,12 +35,11 @@
@@ -133,9 +132,9 @@ const treeProps = { children: 'children', label: 'label', disabled: 'disabled' }
const treeData = ref([])
const buildDefaultDateRange = (): [string, string] => {
- const end = dayjs().endOf('day')
- const start = end.subtract(6, 'day').startOf('day')
- return [start.format('YYYY-MM-DD'), end.format('YYYY-MM-DD')]
+ const end = dayjs()
+ const start = end.subtract(2, 'hour')
+ return [start.format('YYYY-MM-DD HH:mm:ss'), end.format('YYYY-MM-DD HH:mm:ss')]
}
const dateShortcuts = [