1. 如何在vue3中使用html2canvas npm install --save html2canvas 生成海報: template div class="poster-box" ref="posterBox" div class="thumb"img src="@assets/goods.jpg" alt=""/div div class="