Browse Source

若依2.2版本发布

RuoYi 6 years ago
parent
commit
4e45e4638f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/resources/templates/vm/html/list.html.vm

+ 2 - 2
src/main/resources/templates/vm/html/list.html.vm

@@ -19,8 +19,8 @@
     </div>
     <div th:include="include :: footer"></div>
     <script th:inline="javascript">
-        var editFlag = [[${@permissionService.hasPermi('${moduleName}:${classname}:edit')}]];
-        var removeFlag = [[${@permissionService.hasPermi('${moduleName}:${classname}:remove')}]];
+        var editFlag = [[${@permission.hasPermi('${moduleName}:${classname}:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('${moduleName}:${classname}:remove')}]];
         var prefix = ctx + "${moduleName}/${classname}"
 
         $(function() {