mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 18:07:35 +00:00
init
This commit is contained in:
parent
de2b9a4069
commit
f0e0156f7c
@ -120,6 +120,7 @@ limitations under the License. -->
|
|||||||
resetDuration();
|
resetDuration();
|
||||||
getVersion();
|
getVersion();
|
||||||
getNavPaths();
|
getNavPaths();
|
||||||
|
getMetricsTTL();
|
||||||
|
|
||||||
function changeTheme() {
|
function changeTheme() {
|
||||||
const root = document.documentElement;
|
const root = document.documentElement;
|
||||||
@ -209,6 +210,13 @@ limitations under the License. -->
|
|||||||
appStore.setDuration(timeFormat(val));
|
appStore.setDuration(timeFormat(val));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async function getMetricsTTL() {
|
||||||
|
const resp = await appStore.queryMetricsTTL();
|
||||||
|
// const gap = appStore.duration.end.getTime() - appStore.duration.start.getTime();
|
||||||
|
// const dates: Date[] = [new Date(new Date().getTime() - gap), new Date()];
|
||||||
|
// appStore.setDuration(timeFormat(dates));
|
||||||
|
}
|
||||||
|
|
||||||
function getNavPaths() {
|
function getNavPaths() {
|
||||||
pathNames.value = [];
|
pathNames.value = [];
|
||||||
pageTitle.value = "";
|
pageTitle.value = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user