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