import React, { useState } from 'react'; import { Tabs } from 'antd'; import BascForm from '../form/index' import { basicData,clqkData,xzfy} from './config' import Bajz from './bajz' import Lsyx from './lsyx' const items = [ { key: '1', label: '基本情况', }, { key: '2', label: '处理情况', }, { key: '3', label: '行政复议、行政应诉情况', }, { key: '4', label: '办案宗卷', }, { key: '5', label: '历史影像及图片', }, ]; const Page = () => { const [key , setKeys] = useState('1') const onChange = (key) => { console.log(key); setKeys(key) }; return ( <> <> {key==1&& } {key==2&& } {key==3&& } {key==4&& } {key==5&& } ) } export default Page