Browse Source

Merge pull request #14195 from abpframework/liangshiwei/patch-1

Fix cms build error
pull/14212/head
Alper Ebiçoğlu 4 years ago
committed by GitHub
parent
commit
74373a95ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Blogs/Index.cshtml.cs

2
modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Blogs/Index.cshtml.cs

@ -25,7 +25,7 @@ public class IndexModel : CmsKitPublicPageModelBase
[BindProperty(SupportsGet = true)] [BindProperty(SupportsGet = true)]
public Guid? TagId { get; set; } public Guid? TagId { get; set; }
public PagedResultDto<BlogPostPublicDto> Blogs { get; protected set; } public PagedResultDto<BlogPostCommonDto> Blogs { get; protected set; }
public PagerModel PagerModel => new PagerModel(Blogs.TotalCount, Blogs.Items.Count, CurrentPage, PageSize, Request.Path.ToString()); public PagerModel PagerModel => new PagerModel(Blogs.TotalCount, Blogs.Items.Count, CurrentPage, PageSize, Request.Path.ToString());

Loading…
Cancel
Save