diff --git a/src/admin/Bootstrap.Admin/Query/QueryDictOption.cs b/src/admin/Bootstrap.Admin/Query/QueryDictOption.cs
index 6f05b813..e9977655 100644
--- a/src/admin/Bootstrap.Admin/Query/QueryDictOption.cs
+++ b/src/admin/Bootstrap.Admin/Query/QueryDictOption.cs
@@ -6,7 +6,7 @@ using System.Linq;
namespace Bootstrap.Admin.Query
{
///
- ///
+ /// 字典表查询类
///
public class QueryDictOption : PaginationOption
{
@@ -28,6 +28,9 @@ namespace Bootstrap.Admin.Query
///
public QueryData RetrieveData()
{
+ if (string.IsNullOrEmpty(Order)) Order = "asc";
+ if (string.IsNullOrEmpty(Sort)) Sort = "Category";
+
var data = DictHelper.RetrieveDicts();
if (!string.IsNullOrEmpty(Category))
{
@@ -63,4 +66,4 @@ namespace Bootstrap.Admin.Query
return ret;
}
}
-}
\ No newline at end of file
+}