Browse Source

修改bug

yjp 1 ngày trước cách đây
mục cha
commit
6e5581b468
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)