fix(review): page title

This commit is contained in:
haitao(lj) 2022-12-01 14:30:32 +08:00
parent a12a60b3b2
commit c253ba2800
1 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,13 @@ import { Container, Row, Col, Alert, Stack, Button } from 'react-bootstrap';
import { Link } from 'react-router-dom'; import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next'; import { useTranslation } from 'react-i18next';
import { BaseUserCard, FormatTime, Empty, DiffContent } from '@/components'; import {
BaseUserCard,
FormatTime,
Empty,
DiffContent,
PageTitle,
} from '@/components';
import { getReviewList, revisionAudit } from '@/services'; import { getReviewList, revisionAudit } from '@/services';
import { pathFactory } from '@/router/pathFactory'; import { pathFactory } from '@/router/pathFactory';
import type * as Type from '@/common/interface'; import type * as Type from '@/common/interface';
@ -119,6 +125,7 @@ const Index: FC = () => {
}, []); }, []);
return ( return (
<Container className="pt-2 mt-4 mb-5"> <Container className="pt-2 mt-4 mb-5">
<PageTitle title={t('review')} />
<Row> <Row>
<Col lg={{ span: 7, offset: 1 }}> <Col lg={{ span: 7, offset: 1 }}>
<h3 className="mb-4">{t('review')}</h3> <h3 className="mb-4">{t('review')}</h3>