正在显示
3 个修改的文件
包含
6 行增加
和
6 行删除
... | ... | @@ -3,7 +3,7 @@ import { formatMessage } from 'umi/locale'; |
3 | 3 | import Link from 'umi/link'; |
4 | 4 | import { Exception } from 'ant-design-pro'; |
5 | 5 | |
6 | -const Exception403 = () => ( | |
6 | +const PAGE_NAME_UPPER_CAMEL_CASE = () => ( | |
7 | 7 | <Exception |
8 | 8 | type="403" |
9 | 9 | desc={formatMessage({ id: 'app.exception.description.403' })} |
... | ... | @@ -12,4 +12,4 @@ const Exception403 = () => ( |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | |
15 | -export default Exception403; | |
15 | +export default PAGE_NAME_UPPER_CAMEL_CASE; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ import { formatMessage } from 'umi/locale'; |
3 | 3 | import Link from 'umi/link'; |
4 | 4 | import { Exception } from 'ant-design-pro'; |
5 | 5 | |
6 | -const Exception404 = () => ( | |
6 | +const PAGE_NAME_UPPER_CAMEL_CASE = () => ( | |
7 | 7 | <Exception |
8 | 8 | type="404" |
9 | 9 | desc={formatMessage({ id: 'app.exception.description.404' })} |
... | ... | @@ -12,4 +12,4 @@ const Exception404 = () => ( |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | |
15 | -export default Exception404; | |
15 | +export default PAGE_NAME_UPPER_CAMEL_CASE; | ... | ... |
... | ... | @@ -3,7 +3,7 @@ import { formatMessage } from 'umi/locale'; |
3 | 3 | import Link from 'umi/link'; |
4 | 4 | import { Exception } from 'ant-design-pro'; |
5 | 5 | |
6 | -const Exception500 = () => ( | |
6 | +const PAGE_NAME_UPPER_CAMEL_CASE = () => ( | |
7 | 7 | <Exception |
8 | 8 | type="500" |
9 | 9 | desc={formatMessage({ id: 'app.exception.description.500' })} |
... | ... | @@ -12,4 +12,4 @@ const Exception500 = () => ( |
12 | 12 | /> |
13 | 13 | ); |
14 | 14 | |
15 | -export default Exception500; | |
15 | +export default PAGE_NAME_UPPER_CAMEL_CASE; | ... | ... |
请
注册
或
登录
后发表评论