refactor: 增加 Issue 连接地址

This commit is contained in:
Argo Zhang 2020-02-25 15:23:21 +08:00
parent 01c6a52089
commit b02d5ad53c
No known key found for this signature in database
GPG Key ID: 152E398953DDF19F
2 changed files with 2 additions and 0 deletions

View File

@ -507,6 +507,7 @@
$(settings.queryButton).on('click', this, function (e) {
// fix bug: 翻页后再更改查询条件导致页码未更改数据为空
// 更改页码为 1 即可
// https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1A739
var options = e.data.data('bootstrap.table').options;
options.pageNumber = 1;
e.data.bootstrapTable('refresh');

View File

@ -130,6 +130,7 @@
}
// fix bug: 翻页后再更改查询条件导致页码未更改数据为空
// 更改页码为 1 即可
// https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1A739
var options = this.options.bootstrapTable.data('bootstrap.table').options;
options.pageNumber = 1;
this.options.bootstrapTable.bootstrapTable('refresh');