Merge branch feature/reporttemplate of zentao/zentaopms (#10422)

This commit is contained in:
刘刚
2025-07-17 14:33:49 +08:00
committed by Gitfox
+2 -1
View File
@@ -125,7 +125,8 @@ window.getDocApp = function()
{
if(!currentDocApp)
{
const docApp = $('#docApp').data('zui.DocApp');
const $docApp = $('#docApp');
const docApp = $docApp.data('zui.DocApp') || $docApp.data('zui.DocViewer');
currentDocApp = docApp ? docApp.$ : null;
}
return currentDocApp;