import React from 'react'; import { WeaInputSearch, WeaCheckbox } from 'ecCom' import { Row , Col, Modal, Dropdown, Menu, Button } from "antd" import SelectItemsWrapper from './selectItemsWrapper' export const items = [ { key: "1", title: "测试", checked: false }, { key: "2", title: "测试2", checked: true } ] export default class SelectItemModal extends React.Component { constructor(props) { super(props) this.state = { searchValue: "" } } handleShowChecked(value) { value = value == 1 ? true : false this.props.onShowChecked(value) } handleMenuClick(e) { if(e.key == "1") { //恢复默认设置 this.props.onRestoreDefault() } else if(e.key == "2") { this.props.onSetDefault() } else if(e.key == "3") { } } render(){ const menu = (
); return (