摘要:
import React , {Component} from 'react'; import { Cascader } from 'antd'; import CityData from './cityData'; class TestOne extends Component { onChang 阅读全文
摘要:
const Position = [{ value: '北京市',label: '北京市','children': [{ value: '北京市',label: '北京市','children': [{ value: '东城区',label: '东城区'}, { value: '西城区', labe 阅读全文
摘要:
function resizeListener(){ // 定义设计图的尺寸 1920 let designSize = 1920; // 获取 html 元素 let html = document.documentElement; // 定义窗口的宽度 let clientW = html.cl 阅读全文
摘要:
constructor(props){ super(props); this.state = { collapsed:false } } handleClientW = (width,num)=>{ if(width < num){ this.setState({ collapsed:true }) 阅读全文