diff --git a/modules/cms/src/main/resources/views/modules/cms/commentList.html b/modules/cms/src/main/resources/views/modules/cms/commentList.html index e6019532..3dcf881d 100644 --- a/modules/cms/src/main/resources/views/modules/cms/commentList.html +++ b/modules/cms/src/main/resources/views/modules/cms/commentList.html @@ -129,7 +129,7 @@ $('#dataGrid').dataGrid({ }}, {header:'${text('操作')}', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('cms:comment:edit')){ %> + //<% if(hasPermi('cms:comment:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -138,7 +138,7 @@ $('#dataGrid').dataGrid({ actions.push(' '); } actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ], diff --git a/web-fast/src/main/resources/views/modules/test/testTreeList.html b/web-fast/src/main/resources/views/modules/test/testTreeList.html index bbc283d6..f05a46a1 100644 --- a/web-fast/src/main/resources/views/modules/test/testTreeList.html +++ b/web-fast/src/main/resources/views/modules/test/testTreeList.html @@ -64,7 +64,7 @@ $('#dataGrid').dataGrid({ {header:'${text("备注信息")}', name:'remarks', index:'a.remarks', width:150, align:"left"}, {header:'${text("操作")}', name:'actions', width:120, formatter: function(val, obj, row, act){ var actions = []; - <% if(hasPermi('test:testTree:edit')){ %> + //<% if(hasPermi('test:testTree:edit')){ %> actions.push(' '); if (row.status == Global.STATUS_NORMAL){ actions.push(' '); @@ -73,7 +73,7 @@ $('#dataGrid').dataGrid({ } actions.push(' '); actions.push(' '); - <% } %> + //<% } %> return actions.join(''); }} ],