Merge branch feature/reporttemplate of zentao/zentaopms (#10422)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user