mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-14 21:24:58 +08:00
支持多语言英文
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
import intl from 'react-intl-universal';
|
||||
import React from 'react';
|
||||
import { Button, Result, Typography } from 'antd';
|
||||
|
||||
@@ -9,7 +10,7 @@ const NotFound: React.FC = () => (
|
||||
title="404"
|
||||
extra={
|
||||
<Button type="primary">
|
||||
<Link href="/">返回首页</Link>
|
||||
<Link href="/">{intl.get('返回首页')}</Link>
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user