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