🍉 Sync 2026-09-21 06:35:14
Merge-upstream / merge (push) Canceled after 0s

This commit is contained in:
github-actions[bot] committed 2026-09-21 06:35:14 +08:00
1 parent 74fb8aab69
commit d733dbc21e
3 files changed
+4 -3

No files matched your search

+1 -2
View File
@@ -4,8 +4,7 @@ local uci = luci.model.uci.cursor()
local http = require "luci.http"
function index()
-- 1. 注册 admin/index 为纯路由跳板(无 title,不占菜单)
entry({"admin", "index"}, call("landing_page")).dependent = false
entry({"admin", "index"}, call("landing_page"), _("Home") , 0).dependent = false
-- 2. 核心:直接改写 admin 根节点的调度目标
-- 这样当用户访问 /admin、登录后跳转或访问根目录时,无需经过 firstchild(),直接执行 landing_page()
+3
View File
@@ -12,6 +12,9 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid "Home"
msgstr "首页"
msgid "Setup Wizard"
msgstr "快速设置向导"
@@ -1,6 +1,5 @@
{
"admin/dashboard": {
"title": "Dashboard",
"order": 1,
"action": {
"type": "view",