Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Open Source
>
Web Development
>
Backend Management
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
1.3K
Star
6.9K
Fork
2.4K
GVP
FastAdmin 开源后台框架
/
FastAdmin
Code
Issues
37
Pull Requests
2
Insights
Pipelines
Service
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
130
绑定tab的table在tab切换时页面索引没有重置
Merged
无木:master
FastAdmin 开源后台框架:master
无木
create on 2019-06-13 17:48
Clone/Download
HTTPS
SSH
Copy
Email Patch
Diff file
当table绑定了tab时,tab切换时table可以自动切换搜索条件刷新,当前刷新代码如下: ``` table.bootstrapTable('refresh',{}); ``` 这会造成一个问题:如果在tab的一个页面时table翻页了(比如翻到了第5页),切换tab时table变更了筛选条件并且刷新了,但假如新的条件下记录不多以至于达不到之前的页面数,就会导致切换tab后table显示的内容为空。现改为如下代码: ``` table.bootstrapTable('refresh', {pageNumber:1}); ``` 刷新时重置table的当前页面为1,可解决如上问题
This pull request needs to pass some approval items
Type
Assign personnel
Status
Reviewer
Karson
建伟F4nniu
Completed
(0/0 )
Tester
Karson
建伟F4nniu
Completed
(0/0 )
How to merge Pull Request
git checkout master
git pull https://gitee.com/metafan/fastadmin.git master
git push origin master
Comments
0
Commits
Files
1
Checks
Code problems
0
Bulk operation
Expand
Collapse
Reviewer
Code Owner
Reviewer
Karson
karson
建伟F4nniu
F4NNIU
No Setting
Min number
0
Tester
Karson
karson
建伟F4nniu
F4NNIU
No Setting
Min number
0
Priority
Not specified
Serious
Main
Secondary
Unimportant
Label
bug
Link Issue
No link issue
Successfully merged pull requests will close issues
Milestone
No related milestones
v1.7.0
Participators
(1)
PHP
1
https://gitee.com/fastadminnet/fastadmin.git
git@gitee.com:fastadminnet/fastadmin.git
fastadminnet
fastadmin
FastAdmin
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register