// HTML
<Popconfirm open placement="bottomLeft" title={this.renderPopConfirmContent} overlayClassName={style.pop_confirm_more}>
<div className={style.more}>
<span>更多</span>
<img src={commonScreenMore} />
</div>
</Popconfirm>
// css 样式
.pop_confirm_more {
:global {
.ant-popover-inner-content {
padding: 0 !important;
}
.ant-popover-message {
padding: 0 !important;
.ant-popover-message-icon {
display: none !important;
}
}
.ant-popover-buttons {
display: none !important;
}
}
}
Popconfirm气泡窗内将所有内容清空写法
最新推荐文章于 2024-04-12 17:54:54 发布