diff --git a/packages/admin/app.vue b/packages/admin/app.vue
index 61919f4..07d3660 100644
--- a/packages/admin/app.vue
+++ b/packages/admin/app.vue
@@ -110,6 +110,7 @@
{
backendAuthState.value = 'succeeded'
+ setTimeout(() => { viewShowLoginModal.value = false }, 1000)
setTimeout(() => {
backendAuthState.value = ''
backendLoggedIn.value = true
- }, 1000)
+ viewShowLoginModal.value = true
+ }, 1300)
},
() => { backendAuthState.value = 'failed' }
)
@@ -205,10 +208,14 @@ function backendLogout () {
}
// View
+const viewShowLoginModal = ref(true)
+
const viewShowFullNavigationBar = ref(false)
const viewShowFullNavigationBarRealState = ref(false)
const viewFullNavigationBarToggles = ref(0)
+
const viewShowPageContent = ref(true)
+
function viewToggleFullNavigationBar (show?: boolean) {
if (show === undefined) {
viewShowFullNavigationBar.value = !viewShowFullNavigationBar.value
diff --git a/packages/admin/components/LoginModal.vue b/packages/admin/components/LoginModal.vue
index ca3cb6e..bd8196b 100644
--- a/packages/admin/components/LoginModal.vue
+++ b/packages/admin/components/LoginModal.vue
@@ -15,7 +15,7 @@
leave-active-class="transition-opacity duration-300"
leave-to-class="opacity-0"
>
-
+
登录至
@@ -62,7 +62,7 @@
-
+