Browse Source

!84 修复拖拽排序函数的一处BUG
Merge pull request !84 from Teemo/master

Teemo 7 years ago
parent
commit
2000a876dd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/admin/controller/Ajax.php

+ 1 - 1
application/admin/controller/Ajax.php

@@ -146,7 +146,7 @@ class Ajax extends Backend
         //操作的数据表
         $table = $this->request->post("table");
         //排序的方式
-        $orderway = $this->request->post("orderway", 'strtolower');
+        $orderway = $this->request->post("orderway", "", 'strtolower');
         $orderway = $orderway == 'asc' ? 'ASC' : 'DESC';
         $sour = $weighdata = [];
         $ids = explode(',', $ids);