From 89fa6300e8dbc3d3bd9a624e250d54a0eaff5b7b Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Sat, 21 Sep 2024 12:31:52 +0800 Subject: [PATCH] feat(plugin-redirect): appear target language first --- .../plugin-redirect/src/client/components/RedirectModal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tools/plugin-redirect/src/client/components/RedirectModal.ts b/plugins/tools/plugin-redirect/src/client/components/RedirectModal.ts index b45b170ee0..a370551be4 100644 --- a/plugins/tools/plugin-redirect/src/client/components/RedirectModal.ts +++ b/plugins/tools/plugin-redirect/src/client/components/RedirectModal.ts @@ -69,8 +69,8 @@ export default defineComponent({ if (info.value) { const { lang, localePath } = info.value const locales = [ - redirectLocales[routeLocale.value], redirectLocales[localePath], + redirectLocales[routeLocale.value], ] return {