From 95e138158db3e61e0be67691a4142f20c561634c Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Tue, 13 Jan 2026 18:50:38 +0800
Subject: [PATCH] 1
---
src/components/Language/index.vue | 17 +++--------------
1 files changed, 3 insertions(+), 14 deletions(-)
diff --git a/src/components/Language/index.vue b/src/components/Language/index.vue
index e021f54..0d3ab80 100644
--- a/src/components/Language/index.vue
+++ b/src/components/Language/index.vue
@@ -23,6 +23,8 @@
</template>
<script>
+import { languageOptions } from "@/config/languageOptions";
+
/*
*name onChange
*回应外面
@@ -34,20 +36,7 @@
settingDialog: false,
language: "",
// 多语言配置
- actions: [
- {
- text: "English",
- lang: "en",
- },
- {
- text: "中文(繁体)",
- lang: "zh-Hant"
- },
- {
- text: "हिंदी",
- lang: "hi"
- },
- ],
+ actions: languageOptions,
};
},
mounted() {
--
Gitblit v1.9.3