我想在面板標題中顯示「添加」和「刪除」按鈕。下面的代碼顯示沒有fa-icon和沒有標籤的按鈕PrimeNG按鈕不會在angular2中顯示fa圖標和標籤
<p-panel>
<p-header>
<div>
Registration Form
<button type="button" pButton icon="fa-plus" style="float:right" label="Add">
</button>
</div>
</p-header>
</p-panel>
[Primeng按鈕不顯示標籤(HTTPS的可能重複: //stackoverflow.com/questions/45305915/primeng-button-not-showing-label) –
你使用什麼網絡服務器? – BillF