1.背景 在最近angular的專案中,需要用到[innerHTML]標籤來指定一個div的樣式: 1 //HTML部分2 <div class="contents" [innerHTML]="contents"></div>3 ...
確定! 回上一頁