当我单击电子应用程序的交叉按钮时,它没有关闭应用程序,而是在控制台中显示错误 [Intervention] Blocked attempt to show a 'beforeunload' confirmationhad a user gesture since its load. https://www.chromestatus.com/feature/5082396709879808 我正在使用以下代码来关闭应用程序
我有一个带有多个背景图像的div元素,但是在不同的位置0..n。开始时,每个位置都没有图片(backgroundImage: none,none,.,none)。但是,每次我在某个位置用动画精灵更新这个属性时,缓存都会保存该属性中引用的所有以前的图像,并且内存也会不断增加。 let charImg = '' if (charImg !== '') cha