Explorar el Código

若依2.2版本发布

RuoYi hace 6 años
padre
commit
4e45e4638f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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() {