import { Popconfirm } from "antd"; export default function() { return [ { title: "企业名称", dataIndex: "comName", key: "comName" }, { title: "统一社会信用代码", dataIndex: "comCerNo", key: "comCerNo" }, { title: "操作", dataIndex: "action", key: "action", render: (text, record) => { return ( {this.props.readOnly ? ( - ) : ( { this.removeTask([record]); }} // onCancel={cancel} okText="确定" cancelText="取消" > 删除 )} ); } } ]; }