refactor: 用户管理默认排序为注册时间倒序

This commit is contained in:
Argo Zhang 2019-10-06 20:21:47 +08:00
parent 14f2730d17
commit 9ba0a4dc2e
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ $(function () {
}
},
smartTable: {
sortName: 'DisplayName',
sortOrder: "asc",
sortName: 'RegisterTime',
sortOrder: "desc",
queryParams: function (params) { return $.extend(params, { name: $("#txt_search_name").val(), displayName: $('#txt_display_name').val() }); }, //传递参数(*
columns: [
{ title: "登录名称", field: "UserName", sortable: true },