mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: Missing setting option
This commit is contained in:
parent
f4fbe198e9
commit
9acb0665d8
@ -82,11 +82,6 @@ async function onSettingWindowCreated(view: Element) {
|
||||
'慎用,可能会导致自己跟自己聊个不停',
|
||||
SettingSwitch('reportSelfMessage', config.reportSelfMessage),
|
||||
),
|
||||
SettingItem(
|
||||
'写入日志',
|
||||
`日志文件目录:${window.LiteLoader.plugins['LLOneBot'].path.data}`,
|
||||
SettingButton('打开', 'config-open-log-path'),
|
||||
),
|
||||
SettingItem(
|
||||
'自动删除收到的文件',
|
||||
'在收到文件后的指定时间内删除该文件',
|
||||
@ -98,6 +93,16 @@ async function onSettingWindowCreated(view: Element) {
|
||||
`<div class="q-input"><input class="q-input__inner" type="number" min="1" value="${config.autoDeleteFileSecond}" placeholder="${config.autoDeleteFileSecond}" /></div>`,
|
||||
'config-auto-delete-file-second', config.autoDeleteFile
|
||||
),
|
||||
SettingItem(
|
||||
'写入日志',
|
||||
`将日志文件写入插件的数据文件夹`,
|
||||
SettingSwitch('log', config.log),
|
||||
),
|
||||
SettingItem(
|
||||
'日志文件目录',
|
||||
`${window.LiteLoader.plugins['LLOneBot'].path.data}`,
|
||||
SettingButton('打开', 'config-open-log-path'),
|
||||
),
|
||||
]),
|
||||
'</div>',
|
||||
].join(''), "text/html");
|
||||
|
Loading…
x
Reference in New Issue
Block a user