732 Star 13.3K Fork 1.4K

GVPLongbowEnterprise / BootstrapAdmin

 / 详情

全局搜索第一次搜索返回无结果(更改页码为 1 即可的方案实际无效)

已完成
创建于  
2020-06-30 18:15

问题描述

刷新菜单管理
点击高级搜索
菜单类型选择按钮
点击查询
显示“没有找到匹配的记录”

看到了longbow.dataentity.js中的这段注释
// fix bug: 翻页后再更改查询条件导致页码未更改数据为空
// 更改页码为 1 即可
// #I1A739:不是第一页时更改查询条件后查询结果为空

还不如执行两次来的实际。亲测有效。这个bug貌似是bootstrap table里面的问题。
this.options.bootstrapTable.bootstrapTable('refresh');
this.options.bootstrapTable.bootstrapTable('refresh');

现在的代码还有个问题。
清除高级搜索条件,点击查询后的菜单列表没有层级结构,必须再次查询一次才正常
输入图片说明

重现步骤

刷新菜单管理
点击高级搜索
菜单类型选择按钮
点击查询
显示“没有找到匹配的记录”
再次高级搜索
点击查询
显示正常

期待结果

刷新菜单管理
点击高级搜索
菜单类型选择按钮
点击查询
正常显示查询结果

实际结果

首次高级搜索显示“没有找到匹配的记录”

评论 (1)

GaryTian 创建了缺陷
GaryTian 关联仓库设置为Longbow/BootstrapAdmin
Argo 任务状态待办的(已删除) 修改为已确认(已删除)
Argo 负责人设置为Argo
Argo 添加了
 
bug
标签
Argo 关联项目设置为BootstrapBlazor(已删除)
Argo 关联项目BootstrapBlazor(已删除) 修改为BootstrapAdmin(已删除)
Argo 里程碑设置为BA2020(已删除)
Argo 关联分支设置为dev
Argo 计划截止日期设置为2020-09-30
Argo 计划开始日期设置为2020-09-29
Argo 计划截止日期2020-09-30 修改为2020-12-31
Argo 通过里程碑BA2020 将关联项目BootstrapAdmin(已删除) 修改为未设置
展开全部操作日志

改版,新的项目中处理这个问题,暂时先关闭

Argo 任务状态待办的 修改为已完成
Argo 关联项目设置为BootstrapAdmin(已删除)
Argo 里程碑BA2020(已删除) 修改为未设置
Argo 关联分支dev 修改为未关联

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(2)
554725 longbow 1578927507
C#
1
https://gitee.com/LongbowEnterprise/BootstrapAdmin.git
git@gitee.com:LongbowEnterprise/BootstrapAdmin.git
LongbowEnterprise
BootstrapAdmin
BootstrapAdmin

搜索帮助