core: move problem/del to problem/delete

This commit is contained in:
undefined committed 2025-10-17 19:36:42 +08:00
1 parent 2858e96414
commit 7893ea38d7
5 files changed
+3 -5

No files matched your search

-1
View File
@@ -282,7 +282,6 @@ export class ProblemModel {
.then((items) => storage.del(items.map((item) => `problem/${domainId}/${docId}/${item.name}`))),
bus.parallel('problem/delete', domainId, docId),
]);
await bus.emit('problem/del', domainId, docId);
return !!res[0][0].deletedCount;
}