From a0f9798157873123678073f4d35c6f97918d4ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?pixelMax=28=E5=A5=87=E6=B7=BC?= Date: Mon, 5 Aug 2024 13:48:35 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E5=89=94=E9=99=A4=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/view/init/index.vue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/web/src/view/init/index.vue b/web/src/view/init/index.vue index abc8b4f1b..7651c3034 100644 --- a/web/src/view/init/index.vue +++ b/web/src/view/init/index.vue @@ -168,8 +168,6 @@ import { ElLoading, ElMessage } from 'element-plus' import { useRouter } from 'vue-router' import { useI18n } from 'vue-i18n' // added by mohamed hassan to support multilanguage -const i18n = useI18n() // added by mohamed hassan to support multilanguage - const { t } = useI18n() // added by mohamed hassan to support multilanguage defineOptions({ @@ -318,10 +316,7 @@ const onSubmit = async() => { loading.close() } } -// added by mohamed hassan to support multilanguage -const changeLanguage = (val) => { - i18n.locale.value = val -} +