我从/luci/ .lua /admin path获得了控制器代码
module("luci.controller.admin.network",package.seeall)
function index()
local e
e=node("admin","tab")
e.target=firstchild()
e.title=_("tab")
e.order=60
e.index=true
ende.order=60和e.index=true是什么意思?如何在选项卡下拉列表中添加新的子类别?有什么建议吗?
发布于 2017-05-05 16:20:06
我知道了。e.order=60表示选项卡的位置,e.index=true表示可以添加子元素
https://stackoverflow.com/questions/43766985
复制相似问题