* [bug#60668] fix loading after add chapter.

This commit is contained in:
qixinzhi
2025-03-20 14:14:55 +08:00
committed by 代婷婷
parent 87dc7bf940
commit 5c2dba5ce2
+1 -1
View File
@@ -1376,7 +1376,7 @@ const commands =
return showDocBasicModal(args[0], 0, false, 'chapter').then((formData) => {
const doc = {type: 'chapter', status: 'normal', parent: args[0]};
return submitNewDoc(doc, spaceID, libID, moduleID, formData).then(() => {
docApp.load(null, null, null, {noLoading: true, picks: 'doc'});
docApp.load(null, null, null, {noLoading: false, picks: 'doc'});
});
});
},