<% if (UserRole == "Admin"){%>XX<%}else{%>XX<%} %> 转载于:https://www.cnblogs.com/illegal/p/6374158.html