feat: UI show version (#226)

This commit is contained in:
Dream Hunter
2024-05-12 11:52:55 +08:00
committed by GitHub
parent af027fd75e
commit 4b9d40d04b
3 changed files with 3 additions and 1 deletions

View File

@@ -171,7 +171,7 @@ const menuOptions = computed(() => [
href: "https://github.com/dreamhunter2333/cloudflare_temp_email",
},
{
default: () => "Github",
default: () => import.meta.env.VITE_VERSION || "Github",
icon: () => h(NIcon, { component: GithubAlt })
}
),