build: 1.3.5-beta28

This commit is contained in:
手瓜一十雪 2024-05-17 21:30:37 +08:00
parent 7cbbb846eb
commit 475afeb7c8
2 changed files with 4 additions and 4 deletions

View File

@ -37,14 +37,14 @@ async function onSettingWindowCreated(view: Element) {
"启用 HTTP 服务", "启用 HTTP 服务",
undefined, undefined,
SettingSwitch("ob11.http.enable", ob11Config.http.enable, { SettingSwitch("ob11.http.enable", ob11Config.http.enable, {
"control-display-id": "config-ob11-http.port", "control-display-id": "config-ob11-http-port",
}) })
), ),
SettingItem( SettingItem(
"HTTP 服务监听端口", "HTTP 服务监听端口",
undefined, undefined,
`<div class="q-input"><input class="q-input__inner" data-config-key="ob11.http.port" type="number" min="1" max="65534" value="${ob11Config.http.port}" placeholder="${ob11Config.http.port}" /></div>`, `<div class="q-input"><input class="q-input__inner" data-config-key="ob11.http.port" type="number" min="1" max="65534" value="${ob11Config.http.port}" placeholder="${ob11Config.http.port}" /></div>`,
"config-ob11-http.port", "config-ob11-http-port",
ob11Config.http.enable ob11Config.http.enable
), ),
SettingItem( SettingItem(

View File

@ -175,14 +175,14 @@ async function onSettingWindowCreated(view) {
"启用 HTTP 服务", "启用 HTTP 服务",
void 0, void 0,
SettingSwitch("ob11.http.enable", ob11Config.http.enable, { SettingSwitch("ob11.http.enable", ob11Config.http.enable, {
"control-display-id": "config-ob11-http.port" "control-display-id": "config-ob11-http-port"
}) })
), ),
SettingItem( SettingItem(
"HTTP 服务监听端口", "HTTP 服务监听端口",
void 0, void 0,
`<div class="q-input"><input class="q-input__inner" data-config-key="ob11.http.port" type="number" min="1" max="65534" value="${ob11Config.http.port}" placeholder="${ob11Config.http.port}" /></div>`, `<div class="q-input"><input class="q-input__inner" data-config-key="ob11.http.port" type="number" min="1" max="65534" value="${ob11Config.http.port}" placeholder="${ob11Config.http.port}" /></div>`,
"config-ob11-http.port", "config-ob11-http-port",
ob11Config.http.enable ob11Config.http.enable
), ),
SettingItem( SettingItem(