fix: change base query

This commit is contained in:
2025-05-25 00:06:10 +08:00
parent 8385ab05f6
commit 366840bb1d
3 changed files with 9 additions and 5 deletions

View File

@@ -21,8 +21,6 @@ export class QueryClient extends Query {
tokenName: string;
storage: Storage;
token: string;
// 默认不使用ws
qws: QueryWs;
constructor(opts?: QueryOpts & { tokenName?: string; storage?: Storage; io?: boolean }) {
super(opts);
this.tokenName = opts?.tokenName || 'token';