mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-17 10:07:36 +00:00
update
This commit is contained in:
parent
ab367dbf2b
commit
c38feeb9d3
@ -53,8 +53,8 @@ limitations under the License. -->
|
||||
<el-switch
|
||||
v-model="coldStage"
|
||||
inline-prompt
|
||||
active-text="Set data to default"
|
||||
inactive-text="Set data to cold"
|
||||
active-text="Active Data"
|
||||
inactive-text="Cold Data"
|
||||
@change="changeDataMode"
|
||||
width="130px"
|
||||
/>
|
||||
@ -248,7 +248,7 @@ limitations under the License. -->
|
||||
if (!day) {
|
||||
return appStore.setMaxRange([]);
|
||||
}
|
||||
const gap = dayToMS(day) + hour * 60 * 60 * 1000 + minute * 60 * 1000;
|
||||
const gap = dayToMS(day + 1) + hour * 60 * 60 * 1000 + minute * 60 * 1000;
|
||||
const dates: Date[] = [new Date(new Date().getTime() - gap), new Date()];
|
||||
appStore.setMaxRange(dates);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user