{
        title: formatMessage({ id: 'OPERATE', defaultMessage: '操作' }),
        dataIndex: 'id',
        key: 'id',
        ellipsis: true,
        render: v => {
          const obj = {
            children: <div className={styles.iconStyle}>
               {/* <MyIcon
                      type="iconfile-copy"
                       title={formatMessage({ id: 'COMMON_EDIT', defaultMessage: '编辑' })}
               /> */}
                 <Popconfirm
                  title={formatMessage({ id: 'CONFIRM_DELETION', defaultMessage: '确认删除?' })}
                  onConfirm={() => {
                   singleListDelete(v);
                 }}
                >
                  <MyIcon
                    type="icondelete"
                    title={formatMessage({ id: 'COMMON_DELETE', defaultMessage: '删除' })}
                  />
                </Popconfirm>
               </div>,
            props: {
              rowSpan: 1,
              colSpan: 1,
              id: 'lastRowSpan',
            },
          };
          return obj;
        },
      },

 

相关文章:

  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
  • 2021-09-16
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-24
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
相关资源
相似解决方案