-
{{ $t('settings.title') }}
+
Page style setting
- {{ $t('settings.theme') }}
+ Theme Color
- {{ $t('settings.tagsView') }}
+ Open Tags-View
- {{ $t('settings.fixedHeader') }}
+ Fixed Header
- {{ $t('settings.sidebarLogo') }}
+ Sidebar Logo
diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue
index b4422cf8..2d49dd87 100644
--- a/src/layout/components/Sidebar/SidebarItem.vue
+++ b/src/layout/components/Sidebar/SidebarItem.vue
@@ -3,14 +3,14 @@
-
+
-
+
import path from 'path'
-import { generateTitle } from '@/utils/i18n'
import { isExternal } from '@/utils/validate'
import Item from './Item'
import AppLink from './Link'
@@ -90,9 +89,7 @@ export default {
return this.basePath
}
return path.resolve(this.basePath, routePath)
- },
-
- generateTitle
+ }
}
}
diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue
index 19d3083f..24a92f1d 100644
--- a/src/layout/components/TagsView/index.vue
+++ b/src/layout/components/TagsView/index.vue
@@ -12,31 +12,21 @@
@click.middle.native="closeSelectedTag(tag)"
@contextmenu.prevent.native="openMenu(tag,$event)"
>
- {{ generateTitle(tag.title) }}
+ {{ tag.title }}
-
-
diff --git a/src/views/i18n-demo/local.js b/src/views/i18n-demo/local.js
deleted file mode 100644
index ae38dd28..00000000
--- a/src/views/i18n-demo/local.js
+++ /dev/null
@@ -1,83 +0,0 @@
-
-export default {
- zh: {
- i18nView: {
- title: '切换语言',
- note: '本项目国际化基于 vue-i18n',
- datePlaceholder: '请选择日期',
- selectPlaceholder: '请选择',
- tableDate: '日期',
- tableName: '姓名',
- tableAddress: '地址',
- default: '默认按钮',
- primary: '主要按钮',
- success: '成功按钮',
- info: '信息按钮',
- warning: '警告按钮',
- danger: '危险按钮',
- one: '一',
- two: '二',
- three: '三'
- }
- },
- en: {
- i18nView: {
- title: 'Switch Language',
- note: 'The internationalization of this project is based on vue-i18n',
- datePlaceholder: 'Pick a day',
- selectPlaceholder: 'Select',
- tableDate: 'tableDate',
- tableName: 'tableName',
- tableAddress: 'tableAddress',
- default: 'default:',
- primary: 'primary',
- success: 'success',
- info: 'info',
- warning: 'warning',
- danger: 'danger',
- one: 'One',
- two: 'Two',
- three: 'Three'
- }
- },
- es: {
- i18nView: {
- title: 'Switch Language',
- note: 'The internationalization of this project is based on vue-i18n',
- datePlaceholder: 'Pick a day',
- selectPlaceholder: 'Select',
- tableDate: 'tableDate',
- tableName: 'tableName',
- tableAddress: 'tableAddress',
- default: 'default:',
- primary: 'primary',
- success: 'success',
- info: 'info',
- warning: 'warning',
- danger: 'danger',
- one: 'One',
- two: 'Two',
- three: 'Three'
- }
- },
- ja: {
- i18nView: {
- title: '言語切替',
- note: 'vue-i18nを使っています',
- datePlaceholder: '日時選択',
- selectPlaceholder: '選択してください',
- tableDate: '日時',
- tableName: '姓名',
- tableAddress: '住所',
- default: 'default',
- primary: 'primary',
- success: 'success',
- info: 'info',
- warning: 'warning',
- danger: 'danger',
- one: '1',
- two: '2',
- three: '3'
- }
- }
-}
diff --git a/src/views/login/index.vue b/src/views/login/index.vue
index 27f11ef5..fd09b6d7 100644
--- a/src/views/login/index.vue
+++ b/src/views/login/index.vue
@@ -3,10 +3,7 @@
-
- {{ $t('login.title') }}
-
-
+ Login Form
@@ -16,7 +13,7 @@
-
- {{ $t('login.logIn') }}
-
+ Login
- {{ $t('login.username') }} : admin
- {{ $t('login.password') }} : {{ $t('login.any') }}
+ Username : admin
+ Password : any
-
- {{ $t('login.username') }} : editor
-
- {{ $t('login.password') }} : {{ $t('login.any') }}
+ Username : editor
+ Password : any
- {{ $t('login.thirdparty') }}
+ Or connect with
-
- {{ $t('login.thirdpartyTips') }}
+
+ Can not be simulated on local, so please combine you own business simulation! ! !
@@ -82,12 +75,11 @@