Browse Source

权限:界面bug修改

wangdy 8 years ago
parent
commit
2dbf2d53dd

+ 1 - 2
src/main/java/com/uas/platform/b2c/core/filter/SSOInterceptor.java

@@ -174,8 +174,7 @@ public class SSOInterceptor extends AbstractSSOInterceptor {
 			}
 		}
 		if (needPermission != null){
-			return;
-//			throw new AccessDeniedException("无法访问,没有 " + needPermission + " 权限!");
+			throw new AccessDeniedException("无法访问,没有 " + needPermission + " 权限!");
 		}
 	}
 

+ 2 - 2
src/main/webapp/resources/view/vendor/modal/edit_user_role.html

@@ -114,7 +114,8 @@
         vertical-align: inherit;
         display: inline-block;
         width: 37px;
-        height: 28px;
+        height: 31px;
+        float: left;
         padding: 6px 6px;
         font-size: 12px;
         line-height: 1.42857143;
@@ -132,7 +133,6 @@
     .user-role-manage .ng-table-pager a.page-a {
         color: #fff;
         cursor: pointer;
-        padding: 5.55px 6px;
         font-size: 12px;
         border-top-right-radius: 4px;
         border-bottom-right-radius: 4px;