🚨 尝试修复 qodana 报错

This commit is contained in:
目棃
2024-12-13 16:37:05 +08:00
parent 3ed6d503d4
commit 1b817cff5e
6 changed files with 173 additions and 143 deletions

View File

@@ -27,30 +27,12 @@ import { getDS4JS } from "@/web/utils/getRequestHeader.js";
type InvokeArg = { func: string };
class Client {
/**
* @private 监听实例
* @since Beta v0.3.3
* @type {EventEmitter}
*/
private listener: UnlistenFn | undefined;
/**
* @private 模拟路由
* @since Beta v0.3.4
* @type {string[]}
*/
private route: string[] = [];
/**
* @constructor
* @since Beta v0.3.4
* @description 构造函数
*/
private constructor() {
this.route = [];
this.listener = undefined;
}
private static instance: Client | null = null;
static getInstance(): Client {