mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-22 19:05:57 +08:00
many update again
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
|
||||
<header class="d-flex flex-wrap justify-content-center py-3 mb-3 border-bottom">
|
||||
|
||||
<router-link to="/" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none">
|
||||
<router-link to="/dashboard" class="d-flex align-items-center mb-3 mb-md-0 me-md-auto text-dark text-decoration-none">
|
||||
<object class="bi me-2 ms-4" width="40" data="/icon.svg"></object>
|
||||
<span class="fs-4 title">Uptime Kuma</span>
|
||||
</router-link>
|
||||
@@ -21,7 +21,8 @@
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<router-view v-if="$root.loggedIn" />
|
||||
<!-- Add :key to disable vue router re-use the same component -->
|
||||
<router-view v-if="$root.loggedIn" :key="$route.fullPath" />
|
||||
<Login v-if="! $root.loggedIn && $root.allowLoginDialog" />
|
||||
</main>
|
||||
|
||||
@@ -66,4 +67,8 @@ export default {
|
||||
background-color: crimson;
|
||||
color: white;
|
||||
}
|
||||
|
||||
main {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user