fix: 缺省 random

This commit is contained in:
kifuan 2023-05-14 17:37:01 +08:00
parent 7bef2fa7cd
commit 16ae63d0c4

View File

@ -15,7 +15,7 @@
let listResult = ""
const lists = str[i].link_list
if (!{page.random}) {
if (!{page.random === true}) {
lists.sort(() => Math.random() - 0.5)
}
for(let j = 0; j < lists.length; j++){