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",
|
"build": "vue-cli-service build",
|
||||||
"lint": "vue-cli-service lint",
|
"lint": "vue-cli-service lint",
|
||||||
"predeploy": "yarn build",
|
"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": {
|
"dependencies": {
|
||||||
"@antv/data-set": "^0.11.4",
|
"@antv/data-set": "^0.11.4",
|
||||||
|
@ -8,49 +8,22 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
HK: {
|
HK: {
|
||||||
home: {name: '首頁'},
|
home: {name: '首頁'},
|
||||||
dashboard: {
|
demo: {
|
||||||
name: 'Dashboard',
|
name: '演示頁0'
|
||||||
workplace: {name: '工作台'},
|
|
||||||
analysis: {name: '分析頁'}
|
|
||||||
},
|
},
|
||||||
form: {
|
parent1: {
|
||||||
name: '表單頁',
|
name: '父級路由1',
|
||||||
basic: {name: '基礎表單'},
|
demo1: {name: '演示頁面1'},
|
||||||
step: {name: '分步表單'},
|
|
||||||
advance: {name: '分步表單'}
|
|
||||||
},
|
},
|
||||||
list: {
|
parent2: {
|
||||||
name: '列表頁',
|
name: '父級路由2',
|
||||||
query: {name: '查詢表格'},
|
demo2: {name: '演示頁面2'},
|
||||||
primary: {name: '標準列表'},
|
|
||||||
card: {name: '卡片列表'},
|
|
||||||
search: {
|
|
||||||
name: '搜索列表',
|
|
||||||
article: {name: '文章'},
|
|
||||||
application: {name: '應用'},
|
|
||||||
project: {name: '項目'}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
details: {
|
|
||||||
name: '詳情頁',
|
|
||||||
basic: {name: '基礎詳情頁'},
|
|
||||||
advance: {name: '高級詳情頁'}
|
|
||||||
},
|
|
||||||
result: {
|
|
||||||
name: '結果頁',
|
|
||||||
success: {name: '成功'},
|
|
||||||
error: {name: '失敗'}
|
|
||||||
},
|
},
|
||||||
exception: {
|
exception: {
|
||||||
name: '異常頁',
|
name: '異常頁',
|
||||||
404: {name: '404'},
|
404: {name: '404'},
|
||||||
403: {name: '403'},
|
403: {name: '403'},
|
||||||
500: {name: '500'}
|
500: {name: '500'}
|
||||||
},
|
|
||||||
components: {
|
|
||||||
name: '小組件',
|
|
||||||
taskCard: {name: '任務卡片'},
|
|
||||||
palette: {name: '顏色複選框'}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user