mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-18 02:21:20 -08:00
精简eslinet
This commit is contained in:
1 parent
fba16c2432
commit
6fb1b0eb6e
7 files changed
+14
-40
No files matched your search
@@ -1,5 +1,5 @@
|
||||
export default function localPreview(art) {
|
||||
const { append, setStyle, setStyles, sleep } = art.constructor.utils;
|
||||
const { append, setStyle, setStyles, sleep, errorHandle } = art.constructor.utils;
|
||||
const {
|
||||
events: { proxy },
|
||||
option,
|
||||
@@ -37,7 +37,7 @@ export default function localPreview(art) {
|
||||
} else {
|
||||
const tip = `${i18n.get('Playback of this file format is not supported')}: ${file.type}`;
|
||||
notice.show(tip, true, 3000);
|
||||
console.warn(tip);
|
||||
errorHandle(false, tip);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user