import { Button, Drawer, Form, Input, Row, Col, Tabs, Cascader, Select, Tag } from 'antd' import React, { useState, useEffect } from 'react' import styles from './index.less' const Popcontactform = props => { // 浏览器实际宽度 const [ clientWidth, setClientWidth ] = useState(document.body.clientWidth * 0.75) useEffect(() => { window.addEventListener('resize', () => { setClientWidth(document.body.clientWidth * 0.7) }) return () => { window.removeEventListener('resize') } }, []) const { visible, onClose, onCreate } = props const [ form ] = Form.useForm() const { TabPane } = Tabs function callback(key) { console.log(key) } const residences = [ { value: '广东省', label: '广东省', children: [ { value: '珠海市', label: '珠海市', children: [ { value: '香洲区', label: '香洲区' } ] } ] }, { value: '安徽省', label: '安徽省', children: [ { value: '合肥市', label: '合肥市', children: [ { value: '庐阳区', label: '庐阳区' } ] } ] } ] return (

刘泽富

陈特 创建于 2019年5月6日 14:55
标签 特别关注 协作标签1 协作标签2
Content of Tab Pane 1 Content of Tab Pane 2 Content of Tab Pane 3
) } export default Popcontactform