🎨 style: 添加注释

This commit is contained in:
zhiyu1998 2024-06-29 15:05:57 +08:00
parent faecc00a2b
commit d0f2c425ee

View File

@ -288,7 +288,7 @@ export class tools extends plugin {
const videoAddrList = Math.random() > 0.5 ? play_addr_265.url_list : play_addr_h264.url_list; const videoAddrList = Math.random() > 0.5 ? play_addr_265.url_list : play_addr_h264.url_list;
resUrl = videoAddrList[videoAddrList.length - 1] || videoAddrList[0]; resUrl = videoAddrList[videoAddrList.length - 1] || videoAddrList[0];
} else { } else {
// 原始格式 // 原始格式ps. videoAddrList这里[0]、[1]是 http[最后一个]是 https
const videoAddrList = play_addr.url_list; const videoAddrList = play_addr.url_list;
resUrl = videoAddrList[videoAddrList.length - 1] || videoAddrList[0]; resUrl = videoAddrList[videoAddrList.length - 1] || videoAddrList[0];
} }