From b33df17e795ad8591e40c52a56a240a7d9d18a59 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Thu, 22 Oct 2026 03:01:48 +0800 Subject: [PATCH] Update quickstart.patch --- .github/diy/patches/quickstart.patch | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/diy/patches/quickstart.patch b/.github/diy/patches/quickstart.patch index fcbd81bc5..17a93df81 100644 --- a/.github/diy/patches/quickstart.patch +++ b/.github/diy/patches/quickstart.patch @@ -1,15 +1,16 @@ --- a/luci-app-quickstart/luasrc/view/quickstart/main.htm +++ b/luci-app-quickstart/luasrc/view/quickstart/main.htm -@@ -47,6 +47,12 @@ +@@ -47,6 +47,13 @@ location.href = vue_prefix; } } + setTimeout(() => { -+ const targetDiv = document.querySelector('div[style*="background-color: rgb(251, 245, 250)"]'); -+ if (targetDiv) { -+ targetDiv.style.display = 'none'; ++ document.querySelectorAll('.item_container .item').forEach(el => { ++ if (el.textContent.trim() === '软件源配置') { ++ el.remove(); // 或 el.style.display = 'none'; + } -+ }, 500); ++ }); ++ }, 1000); })();