Update quickstart.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-10-22 03:01:48 +08:00
1 parent c647c6a0e0
commit b33df17e79
1 file changed
+6 -5
+6 -5
View File
@@ -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);
})();
</script>
<div id="app">