Commit df1f67e3 authored by xiaohuoni's avatar xiaohuoni

exception

parent 87fb3c68
import Exception from './components/Exception';
import React from 'react';
import { formatMessage } from 'umi-plugin-react/locale';
import Link from 'umi/link';
import Exception from './components/Exception';
const PAGE_NAME_UPPER_CAMEL_CASE: React.FC = () => (
<Exception
type="403"
desc={formatMessage({ id:'BLOCK_NAME.description.403' })}
linkElement={Link}
backText={formatMessage({ id: 'BLOCK_NAME.description.back' })}
backText={formatMessage({ id: 'BLOCK_NAME.exception.back' })}
/>
);
......
export default {
'BLOCK_NAME.description.back': 'Back to home',
'BLOCK_NAME.exception.back': 'Back to home',
'BLOCK_NAME.description.403': "Sorry, you don't have access to this page",
};
export default {
'BLOCK_NAME.description.back': 'Voltar para Início',
'BLOCK_NAME.exception.back': 'Voltar para Início',
'BLOCK_NAME.description.403': 'Desculpe, você não tem acesso a esta página',
};
export default {
'BLOCK_NAME.description.back': '返回首页',
'BLOCK_NAME.exception.back': '返回首页',
'BLOCK_NAME.description.403': '抱歉,你无权访问该页面',
};
export default {
'BLOCK_NAME.description.back': '返回首頁',
'BLOCK_NAME.exception.back': '返回首頁',
'BLOCK_NAME.description.403': '抱歉,妳無權訪問該頁面',
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment