소스 검색

修改bug

yjp 1 일 전
부모
커밋
6e5581b468
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      framework/core/api/api.go

+ 2 - 2
framework/core/api/api.go

@@ -303,9 +303,9 @@ func (api *Api) DumpRouterPermissionItems(onSave func(items *DumpedPermissionIte
 			if err != nil {
 				return err
 			}
-
-			return nil
 		}
+
+		return nil
 	}
 
 	routerPermissionItemsJson, err := json.Marshal(routerPermissionItems)