这是我遇到的错误
Uncaught ReferenceError: fullscreenScreenshot is not defined at HTMLInputElement
导致此问题的代码在index.html脚本标记中。 这是 Render.js代码https://pastebin.com/cEp1rJsT 索引html代码 https://pastebin.com/WVWG69RH 我在哪里建造 错误来自https://ourcodeworld.com/articles/read/280/creating-screenshots-of-your-app-or-the-screen-in-electron-framework
document.getElementById("trigger").addEventListener("click", function(){
fullscreenScreenshot(function(base64data){
// Draw image in the img tag
document.getElementById("my-preview").setAttribute("src", base64data);
},'image/png');
},false);