feat: 更新版本至 0.0.53,升级依赖,添加 query-login-node 构建配置,优化文件操作同步化

This commit is contained in:
2026-02-21 02:09:09 +08:00
parent fda55061a0
commit 885abd8c46
6 changed files with 222 additions and 37 deletions

View File

@@ -39,6 +39,9 @@ export class QueryLogin extends BaseQuery {
this.init();
this.onLoad = opts?.onLoad;
this.storage = opts?.storage || globalThis?.localStorage;
if (!this.storage) {
throw new Error('storage is required');
}
}
setQuery(query: Query) {
this.query = query;