diff --git a/SrcJu.js b/SrcJu.js index 617239a8..4dafca1d 100644 --- a/SrcJu.js +++ b/SrcJu.js @@ -642,6 +642,7 @@ function erji() { d.push({ col_type: "line_blank" }); + if(getItem('extenditems','1')=="1" && details.moreitems && $.type(details.moreitems)=='array'){ let moreitems = details.moreitems; if(moreitems.length>0){ @@ -651,16 +652,18 @@ function erji() { item.extra = item.extra || {}; item.extra['back'] = 1; item.extra['cls'] = "Juloadlist extendlist"; - d.push(item) + d.push(item); } }) } + } else { + for (let i = 0; i < 10; i++) { + d.push({ + col_type: "blank_block" + }) + } } - for (let i = 0; i < 10; i++) { - d.push({ - col_type: "blank_block" - }) - } + d.push({ title: getMyVar(sname + 'sort') == '1' ? `““””排序⇅` : `““””排序⇅`, url: $("#noLoading#").lazyRule((sname) => {