【发布时间】:2021-05-28 00:28:17
【问题描述】:
我有一个 ng prime modal 我在其中显示我的数据,所以当我想通过单击按钮来删除我的一个数据以显示第二个弹出窗口时,第二个弹出窗口出现在第一个弹出窗口的后面就像照片中的例子: ps enter image description here
HTML 代码
<table>
<tr>
<td>
<p-button
(onClick)="confirm($event)"
icon="pi pi-trash"
label="Clear"
></p-button>
<p-confirmPopup></p-confirmPopup>
</td>
</tr>
</table>
【问题讨论】:
-
您需要更新您的 CSS,以便第二个叠加层显示在第一个叠加层之上。