Update quickstart.patch

This commit is contained in:
kiddin9 authored and GitHub committed 2026-11-16 20:54:20 +08:00
1 parent e43d9f7008
commit 649a52f1ad
1 file changed
-17
-17
View File
@@ -1,20 +1,3 @@
--- a/luci-app-quickstart/luasrc/view/quickstart/main.htm
+++ b/luci-app-quickstart/luasrc/view/quickstart/main.htm
@@ -47,6 +47,13 @@
location.href = vue_prefix;
}
}
+ setTimeout(() => {
+ document.querySelectorAll('.item_container .item').forEach(el => {
+ if (el.textContent.trim() === '软件源配置' || el.textContent.trim() === '系统维护') {
+ el.remove(); // 或 el.style.display = 'none';
+ }
+ });
+ }, 800);
})();
</script>
<div id="app">
--- a/luci-app-quickstart/Makefile
+++ b/luci-app-quickstart/Makefile
@@ -6,7 +6,7 @@