From d7ed64297ec7c955e9372565adffc36ad74617a3 Mon Sep 17 00:00:00 2001 From: zml Date: Mon, 29 Feb 2016 12:22:18 +0800 Subject: [PATCH] Update hasAnyPermissions.tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 拥有任意一个相关的权限:不加return 如果相关权限都符合,就会出现多个相同内容。 --- .../src/main/webapp/WEB-INF/tags/hasAnyPermissions.tag | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shiro-example-chapter9/src/main/webapp/WEB-INF/tags/hasAnyPermissions.tag b/shiro-example-chapter9/src/main/webapp/WEB-INF/tags/hasAnyPermissions.tag index f437ad41..29cc4441 100644 --- a/shiro-example-chapter9/src/main/webapp/WEB-INF/tags/hasAnyPermissions.tag +++ b/shiro-example-chapter9/src/main/webapp/WEB-INF/tags/hasAnyPermissions.tag @@ -24,6 +24,7 @@ %> <% + return; } } -%> \ No newline at end of file +%>