style&&chore: lint

This commit is contained in:
手瓜一十雪 committed 2024-08-14 00:47:50 +08:00
1 parent 516838c521
commit 26ffec43fe
10 files changed
+118 -118

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export let webUiPathWrapper: NapCatPathWrapper;
export async function InitWebUi(logger: LogWrapper, pathWrapper: NapCatPathWrapper) {
webUiPathWrapper = pathWrapper;
WebUiConfig = new WebUiConfigWrapper();
let log = logger.log.bind(logger);
const log = logger.log.bind(logger);
const config = await WebUiConfig.GetWebUIConfig();
if (config.port == 0) {
log('[NapCat] [WebUi] Current WebUi is not run.');
+3 -3
View File
@@ -180,12 +180,12 @@ async function onSettingWindowCreated(view: Element) {
'Telegram 群',
'https://t.me/+nLZEnpne-pQ1OWFl',
SettingButton('进去逛逛', 'open-telegram')
),
SettingItem(
),
SettingItem(
'QQ 群',
'518662028',
SettingButton('我要进去', 'open-qq-group')
),
),
'</div>',
].join(''),
'text/html',