From 2b51488fcd107da8a15a61d3e2fe4d98d1b35900 Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 23 Jul 2018 10:26:52 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8B=A5=E4=BE=9D2.2=E7=89=88=E6=9C=AC?=
 =?UTF-8?q?=E5=8F=91=E5=B8=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/main/resources/templates/vm/html/list.html.vm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/templates/vm/html/list.html.vm b/src/main/resources/templates/vm/html/list.html.vm
index 9e858a36..ae4fad44 100644
--- a/src/main/resources/templates/vm/html/list.html.vm
+++ b/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() {