Forráskód Böngészése

fix: 登录页浏览器标题去掉未翻译的 menus.pureLogin

$t() 在模块加载时求值,可能拿不到翻译,改为硬编码"登录"。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
skyline 1 hete
szülő
commit
739863ee39
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      haha-admin-web/src/router/modules/remaining.ts

+ 1 - 1
haha-admin-web/src/router/modules/remaining.ts

@@ -7,7 +7,7 @@ export default [
     name: "Login",
     component: () => import("@/views/login/index.vue"),
     meta: {
-      title: $t("menus.pureLogin"),
+      title: "登录",
       showLink: false
     }
   },