mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-13 08:17:33 +00:00
fix: update style
This commit is contained in:
parent
6d0c336e5b
commit
37a14adbd4
@ -25,5 +25,6 @@ limitations under the License. -->
|
||||
.app-main {
|
||||
height: calc(100% - 40px);
|
||||
background: #f7f9fa;
|
||||
overflow: auto;
|
||||
}
|
||||
</style>
|
||||
|
@ -77,14 +77,14 @@ limitations under the License. -->
|
||||
|
||||
init();
|
||||
async function init() {
|
||||
dashboardStore.setLayer(route.params.layer);
|
||||
dashboardStore.setEntity(route.params.entity);
|
||||
const { auto } = config.value;
|
||||
|
||||
if (auto) {
|
||||
await setDuration();
|
||||
appStoreWithOut.setReloadTimer(setInterval(setDuration, auto));
|
||||
}
|
||||
dashboardStore.setLayer(route.params.layer);
|
||||
dashboardStore.setEntity(route.params.entity);
|
||||
await setSelector();
|
||||
await queryMetrics();
|
||||
}
|
||||
|
@ -118,7 +118,6 @@ limitations under the License. -->
|
||||
if (f.step === TimeType.DAY_TIME) {
|
||||
opt.auto = Number(f.value) * 60 * 60 * 60 * 1000;
|
||||
}
|
||||
console.log(opt.auto);
|
||||
}
|
||||
const config = JSON.stringify(opt);
|
||||
const path = `/page/${dashboardStore.layerId}/${
|
||||
|
@ -104,7 +104,6 @@ limitations under the License. -->
|
||||
() => selectorStore.currentService,
|
||||
() => {
|
||||
searchTasks();
|
||||
console.log("service");
|
||||
},
|
||||
);
|
||||
watch(
|
||||
|
@ -220,7 +220,6 @@ limitations under the License. -->
|
||||
visGraph.value.on("select", (data: { items: number[] }) => {
|
||||
const index = data.items[0];
|
||||
currentEvent.value = events[index - 1 || 0] || {};
|
||||
console.log(currentEvent.value);
|
||||
if (data.items.length) {
|
||||
showEventDetail.value = true;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user