mirror of
https://github.com/iczer/vue-antd-admin
synced 2025-04-06 04:00:06 +08:00
chore: optimize the code of router's i18n; 🌟
This commit is contained in:
parent
de9af0c238
commit
7f5edfa388
@ -8,7 +8,7 @@
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint",
|
||||
"predeploy": "yarn build",
|
||||
"deploy": "gh-pages -d dist -b pages -r https://gitee.com/iczer/vue-antd-admin.git",
|
||||
"deploy": "gh-pages -d dist -b pages -r https://gitee.com/iczer/vue-antd-admin.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"@antv/data-set": "^0.11.4",
|
||||
|
@ -8,49 +8,22 @@ module.exports = {
|
||||
},
|
||||
HK: {
|
||||
home: {name: '首頁'},
|
||||
dashboard: {
|
||||
name: 'Dashboard',
|
||||
workplace: {name: '工作台'},
|
||||
analysis: {name: '分析頁'}
|
||||
demo: {
|
||||
name: '演示頁0'
|
||||
},
|
||||
form: {
|
||||
name: '表單頁',
|
||||
basic: {name: '基礎表單'},
|
||||
step: {name: '分步表單'},
|
||||
advance: {name: '分步表單'}
|
||||
parent1: {
|
||||
name: '父級路由1',
|
||||
demo1: {name: '演示頁面1'},
|
||||
},
|
||||
list: {
|
||||
name: '列表頁',
|
||||
query: {name: '查詢表格'},
|
||||
primary: {name: '標準列表'},
|
||||
card: {name: '卡片列表'},
|
||||
search: {
|
||||
name: '搜索列表',
|
||||
article: {name: '文章'},
|
||||
application: {name: '應用'},
|
||||
project: {name: '項目'}
|
||||
}
|
||||
},
|
||||
details: {
|
||||
name: '詳情頁',
|
||||
basic: {name: '基礎詳情頁'},
|
||||
advance: {name: '高級詳情頁'}
|
||||
},
|
||||
result: {
|
||||
name: '結果頁',
|
||||
success: {name: '成功'},
|
||||
error: {name: '失敗'}
|
||||
parent2: {
|
||||
name: '父級路由2',
|
||||
demo2: {name: '演示頁面2'},
|
||||
},
|
||||
exception: {
|
||||
name: '異常頁',
|
||||
404: {name: '404'},
|
||||
403: {name: '403'},
|
||||
500: {name: '500'}
|
||||
},
|
||||
components: {
|
||||
name: '小組件',
|
||||
taskCard: {name: '任務卡片'},
|
||||
palette: {name: '顏色複選框'}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user