...
|
...
|
@@ -51,6 +51,14 @@ export default { |
|
|
},
|
|
|
},
|
|
|
{
|
|
|
text: '最近6小时',
|
|
|
value: () => {
|
|
|
const end = new Date();
|
|
|
const start = formatDate(6,'h');
|
|
|
return [start, end]
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
text: '最近1天',
|
|
|
value: () => {
|
|
|
const end = new Date();
|
...
|
...
|
@@ -238,7 +246,7 @@ export default { |
|
|
|
|
|
const oneDay=()=>{
|
|
|
const end = getDateTime(new Date());
|
|
|
const start = formatDate(1,'d');
|
|
|
const start = formatDate(6,'h');
|
|
|
dateValue.value=[start,end]
|
|
|
changeDate(dateValue.value)
|
|
|
}
|
...
|
...
|
|