修复modem在lede下配置的bug

This commit is contained in:
ling 2024-04-13 22:58:57 +08:00
parent dadaa57a18
commit 966f61add7
2 changed files with 3 additions and 5 deletions

View File

@ -66,11 +66,9 @@ getMobileNetwork()
--------advanced--------
-- 配置ID
id = s:taboption("advanced", Value, "id", translate("Config ID"))
id.default = arg[1]
id = s:taboption("advanced", ListValue, "id", translate("Config ID"))
id.rmempty = false
id.readonly = true
id.hidden = true
id:value(arg[1])
-- uci:set('modem',arg[1],'id',arg[1])
-- 拨号工具

View File

@ -191,7 +191,7 @@ msgid "Only display the modes available for the adaptation modem"
msgstr "仅显示适配模组可用的拨号模式"
msgid "Config ID"
msgstr "配置ID"
msgstr "配置 ID"
msgid "Dial Tool"
msgstr "拨号工具"