Browse Source

refactor userlayout

maddy 4 years ago
parent
commit
4a66b1ef18
3 changed files with 3 additions and 3 deletions
  1. 1 1
      src/layouts/UserLayout.vue
  2. 1 1
      src/locales/lang/en-US.js
  3. 1 1
      src/locales/lang/zh-CN.js

+ 1 - 1
src/layouts/UserLayout.vue

@@ -13,7 +13,7 @@
           </a>
         </div>
         <div class="desc">
-          Ant Design 是西湖区最具影响力的 Web 设计规范
+          {{ $t('layouts.userLayout.title') }}
         </div>
       </div>
 

+ 1 - 1
src/locales/lang/en-US.js

@@ -22,7 +22,7 @@ export default {
 
   'layouts.usermenu.dialog.title': 'Message',
   'layouts.usermenu.dialog.content': 'Are you sure you would like to logout?',
-
+  'layouts.userLayout.title': 'Ant Design is the most influential web design specification in Xihu district',
   ...components,
   ...global,
   ...menu,

+ 1 - 1
src/locales/lang/zh-CN.js

@@ -20,7 +20,7 @@ export default {
 
   'layouts.usermenu.dialog.title': '信息',
   'layouts.usermenu.dialog.content': '您确定要注销吗?',
-
+  'layouts.userLayout.title': 'Ant Design 是西湖区最具影响力的 Web 设计规范',
   ...components,
   ...global,
   ...menu,