Use _sanitizer.bypassSecurityTrustUrl to tell angular src value is safe. You can change your code like below. Import DomSanitizer. Copy Code.
確定! 回上一頁