createObjectURL() 的方法將Blob 的資料轉換並回傳為URL 3、將產生出的URL 帶入iframe 裡的src 以呈現結果. 代碼如下: const blob = new Blob(['<!
確定! 回上一頁