This commit is contained in:
chaideqing
2023-11-02 06:50:56 +00:00
parent 81fc2ef4ea
commit 587200bf38
+1 -1
View File
@@ -272,7 +272,7 @@ $(function()
if(typeof item.hasAction == 'undefined') item.hasAction = true;
if(typeof item.active == 'undefined') item.active = 0;
if(typeof docID != 'undefined' && item.id == docID) item.active = 1;
if(['text', 'word', 'ppt', 'excel'].indexOf(item.type) !== -1) item.hasAction = false;
if(['text', 'word', 'ppt', 'excel', 'attachment'].indexOf(item.type) !== -1) item.hasAction = false;
var objectType = config.currentModule == 'api' && ['project', 'product', 'execution'].indexOf(item.objectType) === false ? item.objectType : item.type;
var libClass = ['lib', 'annex', 'api', 'execution'].indexOf(objectType) !== -1 ? 'lib' : '';