mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 11:11:20 -08:00
Update eventInit.js
This commit is contained in:
1 parent
af1a116a31
commit
6abd7f3ae2
1 file changed
+1
@@ -69,6 +69,7 @@ export default function eventInit(art, player) {
|
|||||||
reconnectTime += 1;
|
reconnectTime += 1;
|
||||||
player.url = option.url;
|
player.url = option.url;
|
||||||
notice.show = `${i18n.get('Reconnect')}: ${reconnectTime}`;
|
notice.show = `${i18n.get('Reconnect')}: ${reconnectTime}`;
|
||||||
|
art.emit('error', reconnectTime);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
art.loading.show = false;
|
art.loading.show = false;
|
||||||
|
|||||||
Reference in new issue
Block a user