File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
import antd from 'ant-design-vue/es/locale-provider/zh_CN'
2
2
import momentCN from 'moment/locale/zh-cn'
3
+ import menu from './zh-CN/menu'
3
4
4
5
const components = {
5
6
antLocale : antd ,
6
7
momentName : 'zh-cn' ,
7
8
momentLocale : momentCN
8
9
}
9
10
10
- const locale = {
11
+ export default {
11
12
'message' : '-' ,
12
- 'menu.home' : '主页' ,
13
- 'menu.dashboard' : '仪表盘' ,
14
- 'menu.dashboard.analysis' : '分析页' ,
15
- 'menu.dashboard.monitor' : '监控页' ,
16
- 'menu.dashboard.workplace' : '工作台'
17
- }
18
13
19
- export default {
20
14
...components ,
21
- ...locale
15
+ ...menu
22
16
}
Original file line number Diff line number Diff line change
1
+ export default {
2
+ 'menu.welcome' : '欢迎' ,
3
+ 'menu.home' : '主页' ,
4
+ 'menu.dashboard' : '仪表盘' ,
5
+ 'menu.dashboard.analysis' : '分析页' ,
6
+ 'menu.dashboard.monitor' : '监控页' ,
7
+ 'menu.dashboard.workplace' : '工作台'
8
+ }
You can’t perform that action at this time.
0 commit comments