mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-05 18:34:50 +08:00
添加提示,避免调用解析接口响应慢时尴尬空白
This commit is contained in:
@@ -632,6 +632,7 @@ export default {
|
||||
if (playlist.every(e => e.split('$')[1].endsWith('.m3u8'))) this.exportablePlaylist = true
|
||||
if (!url.endsWith('.m3u8') && !url.endsWith('.mp4')) {
|
||||
const currentSite = await sites.find({ key: this.video.key })
|
||||
this.$message.info('即将调用解析接口播放,请等待...')
|
||||
if (currentSite.jiexiUrl) {
|
||||
this.onlineUrl = currentSite.jiexiUrl + url
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user