You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
826 B
JavaScript

import MyCard from "@/pages/hrefficiency_hiddentrouble/component/MyCard";
import {Col, Row, Tabs} from "antd";
import HiddenDangerInspection from "@/pages/hrefficiency_hiddentrouble/component/hiddenDangerInspection/hiddenDangerInspection";
import './HiddenTrouble.less'
const items = [
{
key: '1',
label: '隐患检查',
children: <HiddenDangerInspection/>,
},
{
key: '2',
label: '隐患整改',
children: 'Content of Tab Pane 2',
},
{
key: '3',
label: '隐患统计',
children: 'Content of Tab Pane 3',
},
];
const HiddenTrouble = () => {
return (
<>
<Tabs className={'custom-tabs'} type={'card'} defaultActiveKey="1" items={items} tabBarGutter={10} />
</>
)
}
export default HiddenTrouble