feat: remove tagsTable id

This commit is contained in:
yanle
2024-01-27 00:10:17 +08:00
parent ef23141d7f
commit a9a8b2ada3
+1 -1
View File
@@ -10,7 +10,7 @@ export class TableBase<T> {
protected constructor(tableName: Table) {
this.tableName = tableName;
}
async saveDiskDB() {
protected async saveDiskDB() {
const objs = (await indexdb[this.tableName].toArray()) as TableBaseModel[];
const backup: Record<string, TableBaseModel> = {};
objs.forEach((f) => {