From bfc9d23098da8b591c0d45e97fb2971307500665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E9=91=AB?= <1219654535@qq.com> Date: Sun, 7 May 2023 16:42:52 +0800 Subject: [PATCH] chore: lang flag --- components/header/nav.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/header/nav.vue b/components/header/nav.vue index 0ec130e..0e1bc9e 100644 --- a/components/header/nav.vue +++ b/components/header/nav.vue @@ -10,6 +10,11 @@ const availableLocales = computed(() => { // @ts-expect-error return (locales.value).filter(i => i.code !== locale.value) }) + +const flag: any = { + en: 'i-flag-gb-4x3', + zh: 'i-flag-cn-4x3', +}