diff --git a/app/pages/liveRoom/index.client.vue b/app/pages/liveRoom/index.client.vue index c34a068..370f6c5 100644 --- a/app/pages/liveRoom/index.client.vue +++ b/app/pages/liveRoom/index.client.vue @@ -23,14 +23,13 @@ const player = ref(null) const {quoteStatus, show, playerId, show1, auctionData, getSocketData, getLiveLink, fullLive} = liveStore() const pullLink = ref('') const handlePlayerError = (error) => { - // showConfirmDialog({ - // message: t('live_room.error_mess'), - // showCancelButton: true - // }).then(() => { - // initializePlayer() - // }).catch(() => { - // }) - // player.value?.play() + showConfirmDialog({ + message: t('live_room.error_mess'), + showCancelButton: true + }).then(() => { + initializePlayer() + }).catch(() => { + }) } const loading1=ref(false) const initializePlayer = async () => { @@ -87,13 +86,13 @@ const initializePlayer = async () => { }) player.value.on('error', handlePlayerError) } catch (error) { - // showConfirmDialog({ - // message: t('live_room.error_mess'), - // showCancelButton: true - // }).then(() => { - // initializePlayer() - // }).catch(() => { - // }) + showConfirmDialog({ + message: t('live_room.error_mess'), + showCancelButton: true + }).then(() => { + initializePlayer() + }).catch(() => { + }) } }