Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-10-29 09:45:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0f44b93b95ba567620ed068f52a2f98a983f63f7
0f44b93b
1 parent
2d9282ac
fix(RankingCard): 修复查看更多后未重置选中状态的问题
在查看更多操作后延迟500毫秒重置activeTab为默认值'shanghai',确保UI状态一致性
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/components/RankingCard.vue
src/components/RankingCard.vue
View file @
0f44b93
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-2
8 16:58:49
* @LastEditTime: 2025-10-2
9 09:42:53
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
...
...
@@ -445,7 +445,11 @@ const formatSupportSteps = (steps) => {
*/
const handleViewMore = () => {
if (props.onViewMore) {
props.onViewMore()
props.onViewMore();
// 恢复默认选中状态
setTimeout(() => {
activeTab.value = 'shanghai'
}, 500);
}
}
...
...
Please
register
or
login
to post a comment