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() {