fix: update style

This commit is contained in:
Fine 2023-02-07 14:47:44 +08:00
parent 6d0c336e5b
commit 37a14adbd4
5 changed files with 3 additions and 5 deletions

View File

@ -25,5 +25,6 @@ limitations under the License. -->
.app-main {
height: calc(100% - 40px);
background: #f7f9fa;
overflow: auto;
}
</style>

View File

@ -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();
}

View File

@ -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}/${

View File

@ -104,7 +104,6 @@ limitations under the License. -->
() => selectorStore.currentService,
() => {
searchTasks();
console.log("service");
},
);
watch(

View File

@ -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;