This commit is contained in:
make
2025-11-30 01:03:22 +08:00
parent 1317ff44ec
commit 5404c61758

View File

@@ -626,10 +626,11 @@ document.addEventListener("DOMContentLoaded", function () {
}
// 获取第一个线路 key带容错
function getDefaultLine() {
if (!arrPlayUrl || typeof arrPlayUrl !== "object") {
console.warn("arrPlayUrl 无效:", arrPlayUrl);
if (typeof arrPlayUrl === "undefined" || !arrPlayUrl || typeof arrPlayUrl !== "object" ) {
console.warn("arrPlayUrl 无效:");
return null;
}