mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-06-29 06:07:34 +00:00
init
This commit is contained in:
parent
de2b9a4069
commit
f0e0156f7c
@ -120,6 +120,7 @@ limitations under the License. -->
|
||||
resetDuration();
|
||||
getVersion();
|
||||
getNavPaths();
|
||||
getMetricsTTL();
|
||||
|
||||
function changeTheme() {
|
||||
const root = document.documentElement;
|
||||
@ -209,6 +210,13 @@ limitations under the License. -->
|
||||
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() {
|
||||
pathNames.value = [];
|
||||
pageTitle.value = "";
|
||||
|
Loading…
Reference in New Issue
Block a user