From 1e4409f8b1f71227f9a01702194ceb83f1b0dc31 Mon Sep 17 00:00:00 2001 From: qing <1776177662@qq.com> Date: Wed, 12 Aug 2026 20:42:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(dnfs):=20=E5=8F=8C=E4=B8=8B=E5=88=92?= =?UTF-8?q?=E7=BA=BF=E6=A0=87=E9=A2=98=E8=8A=82=E7=82=B9=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E9=9A=90=E8=97=8F=EF=BC=8C=E5=8D=A1=E7=89=87=E5=92=8C=20minima?= =?UTF-8?q?p=20=E5=90=8C=E6=AD=A5=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fsys/public/js/dnfs.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fsys/public/js/dnfs.js b/fsys/public/js/dnfs.js index 919b082..8157cdf 100644 --- a/fsys/public/js/dnfs.js +++ b/fsys/public/js/dnfs.js @@ -1047,6 +1047,7 @@ function renderCards(list) { recommend_list.replaceChildren(); for (let i in list) { let item = list[i] + if (item.title && typeof item.title === 'string' && item.title.indexOf('__') === 0) continue; console.log(item) let card = document.createElement('div'); card.className = "card"; @@ -1230,8 +1231,9 @@ function loadMap(children_json) { } for (let i in children_json) { let item = children_json[i]; - let tag = document.createElement("div"); let title = item.title; + if (title && typeof title === 'string' && title.indexOf('__') === 0) continue; + let tag = document.createElement("div"); tag.className = "tag"; tag.textContent = title; tag.addEventListener("click", () => {