Fix loadImg bug

This commit is contained in:
Harvey committed 2021-12-07 15:18:40 +08:00
1 parent 86581f489b
commit b056a3a8d6
4 files changed
+3 -7

No files matched your search

-2
View File
@@ -65,8 +65,6 @@ export default class Events {
this.proxy(image, 'load', () => resolve(image));
this.proxy(image, 'error', () => reject(new ArtPlayerError(`Failed to load Image: ${image.src}`)));
return resolve(image);
});
}