fix: 修复 vector-store.ts colId 变量重复声明

This commit is contained in:
thzxx
2026-04-07 02:10:20 +08:00
parent 4dcbb4f1e9
commit 4ccd53e087
-1
View File
@@ -118,7 +118,6 @@ export class VectorStore {
tx.oncomplete = () => resolve();
tx.onerror = () => reject(tx.error);
});
const colId = items[0].collectionId;
if (!this._vectorCache.has(colId)) {
this._vectorCache.set(colId, new Map());
}