mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-03 22:43:56 +08:00
Update quickstart.patch
This commit is contained in:
1 parent
c647c6a0e0
commit
b33df17e79
1 file changed
+6
-5
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user