Skip to content

Commit e817fc8

Browse files
committed
feat: optimize document management UI and error handling
1 parent f181c7a commit e817fc8

File tree

8 files changed

+2771
-1200
lines changed

8 files changed

+2771
-1200
lines changed

hubcmdui/services/documentationServiceDB.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class DocumentationServiceDB {
6060
);
6161

6262
if (!document) {
63-
throw new Error(`文档 ${docId} 不存在`);
63+
return null;
6464
}
6565

6666
return {

0 commit comments

Comments
 (0)