mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix missing array
This commit is contained in:
parent
c933988f3a
commit
ecd2b22b52
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
min/custom-navbar.min.js
vendored
2
min/custom-navbar.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1383,7 +1383,7 @@ class WatchlaterList extends VideoList {
|
||||
listName: "watchlater",
|
||||
listMap: json => {
|
||||
if (!json.data.list) {
|
||||
return /*html*/`<li class="loading empty">空空如也哦 = ̄ω ̄=</li>`
|
||||
return [/*html*/`<li class="loading empty">空空如也哦 = ̄ω ̄=</li>`]
|
||||
}
|
||||
return json.data.list.slice(0, 6).map(item => {
|
||||
const href = (() => {
|
||||
@ -1414,7 +1414,7 @@ class FavoritesList extends VideoList {
|
||||
listName: "favorites",
|
||||
listMap: json => {
|
||||
if (!json.data || json.data.length === 0) {
|
||||
return /*html*/`<li class="loading empty">空空如也哦 = ̄ω ̄=</li>`
|
||||
return [/*html*/`<li class="loading empty">空空如也哦 = ̄ω ̄=</li>`]
|
||||
}
|
||||
return json.data.map(item => {
|
||||
return /*html*/`
|
||||
@ -1436,7 +1436,7 @@ class HistoryList extends VideoList {
|
||||
listName: "history",
|
||||
listMap: json => {
|
||||
if (!json.data || json.data.length === 0) {
|
||||
return /*html*/`<li class="loading empty">空空如也哦 = ̄ω ̄=</li>`
|
||||
return [/*html*/`<li class="loading empty">空空如也哦 = ̄ω ̄=</li>`]
|
||||
}
|
||||
return json.data.map(item => {
|
||||
let parameter = [];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user