Skip to content

Commit 132f5dd

Browse files
committed
refactor: 更新 PageIndex 默认值
1 parent c952bc2 commit 132f5dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BootstrapBlazor/Components/ListView/ListView.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public partial class ListView<TItem> : BootstrapComponentBase
151151
/// <summary>
152152
/// 获得/设置 当前页码
153153
/// </summary>
154-
private int _pageIndex;
154+
private int _pageIndex = 1;
155155

156156
/// <summary>
157157
/// 获得/设置 数据总条目

0 commit comments

Comments
 (0)