Luci 默认数据类型有:
neg
list
bool
uinteger
integer
ufloat
float
ipaddr
ip4addr
ip4prefix
ip6addr
ip6prefix
port
portrange
macaddr
hostname
host
network
wpakey
wepkey
string
directory
file
device
uciname
range
min
max
rangelength
minlength
maxlength
phonedigit
添加自定义数据类型在cbi/datatypes.lua中和cbi.js中
阅读(3992) | 评论(0) | 转发(0) |