feat: add telegram mini app (#250)

This commit is contained in:
Dream Hunter
2024-05-19 00:35:10 +08:00
committed by GitHub
parent 46576316e6
commit 870b7b9198
12 changed files with 234 additions and 8 deletions
+2 -1
View File
@@ -14,7 +14,7 @@ import { api } from '../api'
const message = useMessage()
const {
localeCache, toggleDark, isDark, openSettings,
localeCache, toggleDark, isDark, isTelegram,
showAuth, adminAuth, auth, loading
} = useGlobalState()
const route = useRoute()
@@ -103,6 +103,7 @@ const menuOptions = computed(() => [
}
),
key: "user",
show: !isTelegram.value
},
{
label: () => h(