import { Select, Tooltip } from 'component/antd'; import { urlPrefix } from 'constants/left-menu'; import { searchProps } from 'constants/table'; import * as React from 'react'; const Option = Select.Option; interface IStaffSelectProps { selectData?: any[]; onChange?: (result: string[]) => any; value?: string[]; } export class AppSelect extends React.Component { public render() { const { value, selectData } = this.props; const query = `application=1`; return ( <> {/* { selectData.length ? null : */} 没有应用? 立刻创建 {/* } */} ); } public handleChange(params: string[]) { const { onChange } = this.props; // tslint:disable-next-line:no-unused-expression onChange && onChange(params); } }