fix: Uncomment code

This commit is contained in:
HIMlaoS_Misa 2024-03-19 17:36:11 +08:00 committed by GitHub
parent 47d6dc09db
commit ebc245b9f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -92,11 +92,10 @@ async function onSettingWindowCreated(view: Element) {
SettingItem( SettingItem(
'启用CQ码上报格式不启用则为消息段格式', '启用CQ码上报格式不启用则为消息段格式',
'如客户端无特殊需求推荐保持默认设置,两者的详细差异可参考 <a href="javascript:LiteLoader.api.openExternal(\'https://github.com/botuniverse/onebot-11/tree/master/message#readme\');">OneBot v11 文档</a>', '如客户端无特殊需求推荐保持默认设置,两者的详细差异可参考 <a href="javascript:LiteLoader.api.openExternal(\'https://github.com/botuniverse/onebot-11/tree/master/message#readme\');">OneBot v11 文档</a>',
// SettingSelect([ SettingSelect([
// {text: '消息段', value: 'array'}, {text: '消息段', value: 'array'},
// {text: 'CQ码', value: 'string'}, {text: 'CQ码', value: 'string'},
// ], 'ob11.messagePostFormat', config.ob11.messagePostFormat), ], 'ob11.messagePostFormat', config.ob11.messagePostFormat),
SettingSwitch('ob11.messagePostFormat', config.ob11.messagePostFormat === "string"),
), ),
SettingItem( SettingItem(
'ffmpeg 路径发送语音、视频需要同时保证ffprobe和ffmpeg在一起', ` <a href="javascript:LiteLoader.api.openExternal(\'https://llonebot.github.io/zh-CN/guide/ffmpeg\');">下载地址</a> <span id="config-ffmpeg-path-text">, 路径:${!isEmpty(config.ffmpeg) ? config.ffmpeg : '未指定'}</span>`, 'ffmpeg 路径发送语音、视频需要同时保证ffprobe和ffmpeg在一起', ` <a href="javascript:LiteLoader.api.openExternal(\'https://llonebot.github.io/zh-CN/guide/ffmpeg\');">下载地址</a> <span id="config-ffmpeg-path-text">, 路径:${!isEmpty(config.ffmpeg) ? config.ffmpeg : '未指定'}</span>`,