diff --git a/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs b/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs index 7cf5c563..6175db2c 100644 --- a/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs +++ b/src/admin/Bootstrap.Admin/Pages/Components/TableBase.cs @@ -105,7 +105,7 @@ namespace Bootstrap.Admin.Pages.Components /// 获得/设置 是否显示行号 /// [Parameter] - public bool ShowLineNo { get; set; } + public bool ShowLineNo { get; set; } = true; /// /// 获得/设置 是否显示选择列 默认为 false