diff --git a/config/config.js b/config/config.js
index 18288405e6473831dd3649d436d5993ec53da48e..f051e5627ea3e0f03487c8fec2ba3ebbca4a8e4f 100644
--- a/config/config.js
+++ b/config/config.js
@@ -60,7 +60,7 @@ export default {
},
{
path: 'https://github.com/umijs/umi-blocks/tree/master/ant-design-pro',
- name: '更多页面',
+ name: 'more-blocks',
icon: 'block',
},
],
diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js
index 4d12958ceb9548758fe4791a22099a1e00897c3f..512272b3e27cc22a0f389e85769e178adaaa8c12 100644
--- a/src/layouts/BasicLayout.js
+++ b/src/layouts/BasicLayout.js
@@ -20,8 +20,6 @@ import styles from './BasicLayout.less';
const { Content } = Layout;
-const Exception403 =
Exception403
;
-
const query = {
'screen-xs': {
maxWidth: 575,
@@ -183,7 +181,7 @@ class BasicLayout extends React.PureComponent {
{...this.props}
/>
- }>
+ Exception403}>
{children}
diff --git a/src/locales/en-US/menu.js b/src/locales/en-US/menu.js
index 3102a60030db2fba1905354de3d1891d1794a72e..7a651780336da81445cb23cda8da4b6279690ccb 100644
--- a/src/locales/en-US/menu.js
+++ b/src/locales/en-US/menu.js
@@ -1,36 +1,7 @@
export default {
- 'menu.home': 'Home',
- 'menu.dashboard': 'Dashboard',
- 'menu.dashboard.analysis': 'Analysis',
- 'menu.dashboard.monitor': 'Monitor',
- 'menu.dashboard.workplace': 'Workplace',
- 'menu.form': 'Form',
- 'menu.form.basicform': 'Basic Form',
- 'menu.form.stepform': 'Step Form',
- 'menu.form.stepform.info': 'Step Form(write transfer information)',
- 'menu.form.stepform.confirm': 'Step Form(confirm transfer information)',
- 'menu.form.stepform.result': 'Step Form(finished)',
- 'menu.form.advancedform': 'Advanced Form',
- 'menu.list': 'List',
- 'menu.list.searchtable': 'Search Table',
- 'menu.list.basiclist': 'Basic List',
- 'menu.list.cardlist': 'Card List',
- 'menu.list.searchlist': 'Search List',
- 'menu.list.searchlist.articles': 'Search List(articles)',
- 'menu.list.searchlist.projects': 'Search List(projects)',
- 'menu.list.searchlist.applications': 'Search List(applications)',
- 'menu.profile': 'Profile',
- 'menu.profile.basic': 'Basic Profile',
- 'menu.profile.advanced': 'Advanced Profile',
- 'menu.result': 'Result',
- 'menu.result.success': 'Success',
- 'menu.result.fail': 'Fail',
- 'menu.exception': 'Exception',
- 'menu.exception.not-permission': '403',
- 'menu.exception.not-find': '404',
- 'menu.exception.server-error': '500',
- 'menu.exception.trigger': 'Trigger',
- 'menu.account': 'Account',
+ 'menu.welcome': 'Welcome',
+ 'menu.more-blocks': 'More Blocks',
+
'menu.account.center': 'Account Center',
'menu.account.settings': 'Account Settings',
'menu.account.trigger': 'Trigger Error',
diff --git a/src/locales/pt-BR/menu.js b/src/locales/pt-BR/menu.js
index 257ab0c2fd70cf76979655e7c4f2231f4eaf183d..b4259807aa5eef802e3b979895a5a2ebe06f935d 100644
--- a/src/locales/pt-BR/menu.js
+++ b/src/locales/pt-BR/menu.js
@@ -1,36 +1,7 @@
export default {
- 'menu.home': 'Início',
- 'menu.dashboard': 'Dashboard',
- 'menu.dashboard.analysis': 'Análise',
- 'menu.dashboard.monitor': 'Monitor',
- 'menu.dashboard.workplace': 'Ambiente de Trabalho',
- 'menu.form': 'Formulário',
- 'menu.form.basicform': 'Formulário Básico',
- 'menu.form.stepform': 'Formulário Assistido',
- 'menu.form.stepform.info': 'Formulário Assistido(gravar informações de transferência)',
- 'menu.form.stepform.confirm': 'Formulário Assistido(confirmar informações de transferência)',
- 'menu.form.stepform.result': 'Formulário Assistido(finalizado)',
- 'menu.form.advancedform': 'Formulário Avançado',
- 'menu.list': 'Lista',
- 'menu.list.searchtable': 'Tabela de Busca',
- 'menu.list.basiclist': 'Lista Básica',
- 'menu.list.cardlist': 'Lista de Card',
- 'menu.list.searchlist': 'Lista de Busca',
- 'menu.list.searchlist.articles': 'Lista de Busca(artigos)',
- 'menu.list.searchlist.projects': 'Lista de Busca(projetos)',
- 'menu.list.searchlist.applications': 'Lista de Busca(aplicações)',
- 'menu.profile': 'Perfil',
- 'menu.profile.basic': 'Perfil Básico',
- 'menu.profile.advanced': 'Perfil Avançado',
- 'menu.result': 'Resultado',
- 'menu.result.success': 'Sucesso',
- 'menu.result.fail': 'Falha',
- 'menu.exception': 'Exceção',
- 'menu.exception.not-permission': '403',
- 'menu.exception.not-find': '404',
- 'menu.exception.server-error': '500',
- 'menu.exception.trigger': 'Disparar',
- 'menu.account': 'Conta',
+ 'menu.welcome': 'Welcome',
+ 'menu.more-blocks': 'More Blocks',
+
'menu.account.center': 'Central da Conta',
'menu.account.settings': 'Configurar Conta',
'menu.account.trigger': 'Disparar Erro',
diff --git a/src/locales/zh-CN/menu.js b/src/locales/zh-CN/menu.js
index 1383b43ff3ab6c0ad173d967da8386299efe00c6..25d28e42ab112762420dae70194acc8b7926ea5d 100644
--- a/src/locales/zh-CN/menu.js
+++ b/src/locales/zh-CN/menu.js
@@ -1,36 +1,7 @@
export default {
- 'menu.home': '首页',
- 'menu.dashboard': 'Dashboard',
- 'menu.dashboard.analysis': '分析页',
- 'menu.dashboard.monitor': '监控页',
- 'menu.dashboard.workplace': '工作台',
- 'menu.form': '表单页',
- 'menu.form.basicform': '基础表单',
- 'menu.form.stepform': '分步表单',
- 'menu.form.stepform.info': '分步表单(填写转账信息)',
- 'menu.form.stepform.confirm': '分步表单(确认转账信息)',
- 'menu.form.stepform.result': '分步表单(完成)',
- 'menu.form.advancedform': '高级表单',
- 'menu.list': '列表页',
- 'menu.list.searchtable': '查询表格',
- 'menu.list.basiclist': '标准列表',
- 'menu.list.cardlist': '卡片列表',
- 'menu.list.searchlist': '搜索列表',
- 'menu.list.searchlist.articles': '搜索列表(文章)',
- 'menu.list.searchlist.projects': '搜索列表(项目)',
- 'menu.list.searchlist.applications': '搜索列表(应用)',
- 'menu.profile': '详情页',
- 'menu.profile.basic': '基础详情页',
- 'menu.profile.advanced': '高级详情页',
- 'menu.result': '结果页',
- 'menu.result.success': '成功页',
- 'menu.result.fail': '失败页',
- 'menu.exception': '异常页',
- 'menu.exception.not-permission': '403',
- 'menu.exception.not-find': '404',
- 'menu.exception.server-error': '500',
- 'menu.exception.trigger': '触发错误',
- 'menu.account': '个人页',
+ 'menu.welcome': '欢迎',
+ 'menu.more-blocks': '更多区块',
+
'menu.account.center': '个人中心',
'menu.account.settings': '个人设置',
'menu.account.trigger': '触发报错',
diff --git a/src/locales/zh-TW/menu.js b/src/locales/zh-TW/menu.js
index 66831e0b8a3155e222b8b1124712675ae076e415..1b87bd0bc8ebd12f0ef127cf0961054e2a8d3df7 100644
--- a/src/locales/zh-TW/menu.js
+++ b/src/locales/zh-TW/menu.js
@@ -1,38 +1,9 @@
export default {
- 'menu.home': '首頁',
- 'menu.dashboard': 'Dashboard',
- 'menu.dashboard.analysis': '分析頁',
- 'menu.dashboard.monitor': '監控頁',
- 'menu.dashboard.workplace': '工作臺',
- 'menu.form': '表單頁',
- 'menu.form.basicform': '基礎表單',
- 'menu.form.stepform': '分步表單',
- 'menu.form.stepform.info': '分步表單(填寫轉賬信息)',
- 'menu.form.stepform.confirm': '分步表單(確認轉賬信息)',
- 'menu.form.stepform.result': '分步表單(完成)',
- 'menu.form.advancedform': '高級表單',
- 'menu.list': '列表頁',
- 'menu.list.searchtable': '查詢表格',
- 'menu.list.basiclist': '標淮列表',
- 'menu.list.cardlist': '卡片列表',
- 'menu.list.searchlist': '搜索列表',
- 'menu.list.searchlist.articles': '搜索列表(文章)',
- 'menu.list.searchlist.projects': '搜索列表(項目)',
- 'menu.list.searchlist.applications': '搜索列表(應用)',
- 'menu.profile': '詳情頁',
- 'menu.profile.basic': '基礎詳情頁',
- 'menu.profile.advanced': '高級詳情頁',
- 'menu.result': '結果頁',
- 'menu.result.success': '成功頁',
- 'menu.result.fail': '失敗頁',
- 'menu.account': '個人頁',
+ 'menu.welcome': '歡迎',
+ 'menu.more-blocks': '更多區塊',
+
'menu.account.center': '個人中心',
'menu.account.settings': '個人設置',
'menu.account.trigger': '觸發報錯',
'menu.account.logout': '退出登錄',
- 'menu.exception': '异常页',
- 'menu.exception.not-permission': '403',
- 'menu.exception.not-find': '404',
- 'menu.exception.server-error': '500',
- 'menu.exception.trigger': '触发错误',
};