Commit 42bc3ca8 authored by 张烨's avatar 张烨

perf: 去掉pageContainer的大title

parent c7af9ddd
import { isDev } from '@/utils/tools';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { Tabs } from 'antd';
import React from 'react';
import styles from './index.less';
......@@ -36,6 +36,7 @@ const FrameContainer = props => {
return (
<PageContainer
className={styles.container}
title={false}
style={{
display: 'flex',
flexDirection: 'column',
......
import { PageContainer } from '@ant-design/pro-layout';
import React from 'react';
const BasePageContainer = props => {
const { children, ...rest } = props;
return (
<PageContainer {...rest} title={false}>
{children}
</PageContainer>
);
};
export default BasePageContainer;
import React from 'react';
import { Alert, Card, Typography } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { connect } from 'react-redux';
import styles from './Welcome.less';
......
import React from 'react';
import { Tabs, Card } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import SevenParams from './SevenParams';
import AppMenu from './AppMenu';
......
import React, { useState, useEffect } from 'react';
import { Select, Card, Row, Col, Button, Spin, notification } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { getSolutionList, changeSolution } from '@/services/database/api';
import styles from './CurrentSolution.less';
const { Option } = Select;
......
......@@ -14,7 +14,7 @@ import {
Popconfirm,
Spin,
} from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { connect } from 'react-redux';
import { get, post } from '../../services';
import {
......
......@@ -8,7 +8,7 @@ import {
Popconfirm,
notification,
} from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { get } from '../../services';
import styles from './ManagementDataBase.less';
import { updateDateBase } from '@/services/database/api';
......
import React, { useState } from 'react';
import { Card, Tabs } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import SQLServerTable from './sqlServer/SQLServerTable';
import OracleTable from './oracle/OracleTable';
import MongDBTable from './mongDB/MongDBTable';
......
import React, { useState, useEffect } from 'react';
import { Card, Tabs } from 'antd';
import ProCard from '@ant-design/pro-card';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { miniAppSiteTree } from '@/services/mobileConfig/api';
import SiteConfig from './SiteConfig';
import MenuConfig from './menuconfig/MenuConfig';
......
import React, { useState, useEffect } from 'react';
import { Card, TreeSelect, Space, Button, Table, Input, Row, Col } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { connect } from 'react-redux';
import TestModal from './ModalComponent';
import ListCard from './ListCard';
......
......@@ -4,7 +4,7 @@ import {
Input,
Button
} from 'antd';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { connect } from 'react-redux';
import ProTable from '@ant-design/pro-table';
import { get, post } from '../../services';
......
......@@ -30,7 +30,7 @@ import {
FolderOpenOutlined,
FileOutlined,
} from '@ant-design/icons';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
// import classnames from 'classnames';
// import { get } from '../../services';
import styles from './UserManage.less';
......
import React, { useEffect, useState } from 'react';
import { PageContainer } from '@ant-design/pro-layout';
import PageContainer from '@/components/BasePageContainer';
import { Tabs } from 'antd';
import { getWebModuleTree } from '@/services/webConfig/api';
import styles from './index.less';
......
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