style: lint

This commit is contained in:
手瓜一十雪
2024-05-22 20:58:49 +08:00
parent b29f533a3b
commit ac5506a43b
48 changed files with 1027 additions and 1115 deletions

View File

@@ -10,8 +10,8 @@ import { NapCatOnebot11 } from '@/onebot11/main';
import { InitWebUi } from './webui/index';
import { WebUiDataRuntime } from './webui/src/helper/Data';
import { UpdateConfig } from './common/utils/helper';
import { dirname } from "node:path"
import { fileURLToPath } from "node:url"
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
@@ -46,7 +46,7 @@ checkVersion().then(async (remoteVersion: string) => {
logError('[NapCat] 检测更新失败', e);
});
// 不是很好待优化
let NapCat_OneBot11 = new NapCatOnebot11();
const NapCat_OneBot11 = new NapCatOnebot11();
WebUiDataRuntime.setOB11ConfigCall(NapCat_OneBot11.SetConfig);