* [misc] fix doc title not fill on creating from zentao agent.

This commit is contained in:
sunhao
2026-01-07 09:49:17 +08:00
parent 4bcb00fe3b
commit b8a0e20921
+5 -4
View File
@@ -129,11 +129,12 @@ window.redirectParentWindow = function(link, from, spaceID, libID, moduleID)
{
const aiResult = JSON.parse(localStorage.getItem('aiResult'));
zui.DocApp.storeNextCreatingDoc({
content: aiResult.content || '',
title : aiResult.title || '',
content : aiResult.content || '',
contentType: 'markdown',
space: Number(spaceID),
lib: Number(libID),
module: Number(moduleID),
space : +spaceID,
lib : +libID,
module : +moduleID,
});
localStorage.removeItem('aiResult');
}