|
@@ -1,5 +1,6 @@
|
|
|
import antd from 'ant-design-vue/es/locale-provider/zh_CN'
|
|
|
import momentCN from 'moment/locale/zh-cn'
|
|
|
+import menu from './zh-CN/menu'
|
|
|
|
|
|
const components = {
|
|
|
antLocale: antd,
|
|
@@ -7,16 +8,9 @@ const components = {
|
|
|
momentLocale: momentCN
|
|
|
}
|
|
|
|
|
|
-const locale = {
|
|
|
+export default {
|
|
|
'message': '-',
|
|
|
- 'menu.home': '主页',
|
|
|
- 'menu.dashboard': '仪表盘',
|
|
|
- 'menu.dashboard.analysis': '分析页',
|
|
|
- 'menu.dashboard.monitor': '监控页',
|
|
|
- 'menu.dashboard.workplace': '工作台'
|
|
|
-}
|
|
|
|
|
|
-export default {
|
|
|
...components,
|
|
|
- ...locale
|
|
|
+ ...menu
|
|
|
}
|