mirror of https://gitee.com/karson/fastadmin.git
修复表格导出下拉列表显示
parent
8c76ac77a4
commit
cb4a986184
|
|
@ -254,7 +254,7 @@ class Backend extends Controller
|
|||
$search = $this->request->get("search", '');
|
||||
$filter = $this->request->get("filter", '');
|
||||
$op = $this->request->get("op", '', 'trim');
|
||||
$sort = $this->request->get("sort", $this->model->getPk() ?: 'id');
|
||||
$sort = $this->request->get("sort", !empty($this->model) && $this->model->getPk() ?: 'id');
|
||||
$order = $this->request->get("order", "DESC");
|
||||
$offset = $this->request->get("offset", 0);
|
||||
$limit = $this->request->get("limit", 0);
|
||||
|
|
|
|||
|
|
@ -10012,7 +10012,9 @@ define('table',['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstr
|
|||
return __('Choose');
|
||||
}
|
||||
}, locales);
|
||||
if (typeof defaults.exportTypes != 'undefined') {
|
||||
$.fn.bootstrapTable.defaults.exportTypes = defaults.exportTypes;
|
||||
}
|
||||
},
|
||||
// 绑定事件
|
||||
bindevent: function (table) {
|
||||
|
|
|
|||
|
|
@ -103,7 +103,9 @@ define(['jquery', 'bootstrap', 'moment', 'moment/locale/zh-cn', 'bootstrap-table
|
|||
return __('Choose');
|
||||
}
|
||||
}, locales);
|
||||
if (typeof defaults.exportTypes != 'undefined') {
|
||||
$.fn.bootstrapTable.defaults.exportTypes = defaults.exportTypes;
|
||||
}
|
||||
},
|
||||
// 绑定事件
|
||||
bindevent: function (table) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue