Browse Source

选手排序

lizhen_gitee 1 day ago
parent
commit
119b6a6a8e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      public/assets/js/backend/voteplayer.js

+ 1 - 2
public/assets/js/backend/voteplayer.js

@@ -21,8 +21,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
             table.bootstrapTable({
             table.bootstrapTable({
                 url: $.fn.bootstrapTable.defaults.extend.index_url,
                 url: $.fn.bootstrapTable.defaults.extend.index_url,
                 pk: 'id',
                 pk: 'id',
-                sortName: 'weigh,id',
-                sortOrder: 'asc,asc',
+                sortName: 'weigh asc,id asc',
                 fixedColumns: true,
                 fixedColumns: true,
                 fixedRightNumber: 1,
                 fixedRightNumber: 1,
                 columns: [
                 columns: [