refactor:优化WebUI后端代码格式(无新功能添加)

This commit is contained in:
bietiaop committed 2024-11-25 21:56:57 +08:00
1 parent 876bfbd3cb
commit 4eeabcc9e0
25 files changed
+483 -377

No files matched your search

-13
View File
@@ -1,18 +1,5 @@
import { OneBotConfig } from '@/onebot/config/config';
interface LoginRuntimeType {
LoginCurrentTime: number;
LoginCurrentRate: number;
QQLoginStatus: boolean;
QQQRCodeURL: string;
QQLoginUin: string;
NapCatHelper: {
onQuickLoginRequested: (uin: string) => Promise<{ result: boolean; message: string }>;
onOB11ConfigChanged: (ob11: OneBotConfig) => Promise<void>;
QQLoginList: string[];
};
}
const LoginRuntime: LoginRuntimeType = {
LoginCurrentTime: Date.now(),
LoginCurrentRate: 0,