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); })();