File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
frontend/src/views/admin/components/charts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ const dataZoomOption = computed(() => {
139
139
type: ' slider' ,
140
140
show: showDataZoom .value ,
141
141
xAxisIndex: 0 ,
142
- startValue: currentTimestamp - 1000 * 60 * 60 * 24 * 3 ,
142
+ startValue: currentTimestamp - 1000 * 60 * 60 * 24 * 7 ,
143
143
endValue: currentTimestamp ,
144
144
filterMode: ' filter' ,
145
145
},
@@ -229,7 +229,7 @@ const option = computed(() => {
229
229
const data = el .data as any ;
230
230
return ` <div>
231
231
<span>${timeFormatter (data .timestamp , true )} ~ ${timeFormatter (
232
- new Date (data .timestamp ).getTime () / 1000 + props .requestStatsGranularity ! ,
232
+ new Date (data .timestamp ).getTime () + props .requestStatsGranularity ! * 1000 ,
233
233
true
234
234
)}</span>
235
235
<br />
You can’t perform that action at this time.
0 commit comments