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 10:21:20 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
edb239d43006f0c68b6c73c734f353b90fb6d207
edb239d4
1 parent
a7b4f646
fix: 修复导航后未恢复默认选中状态的问题
在导航到加入组织页面后,添加延迟恢复默认选中状态的逻辑
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
src/components/RankingCard.vue
src/pages/FamilyRank/index.vue
src/components/RankingCard.vue
View file @
edb239d
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-29
09:42:53
* @LastEditTime: 2025-10-29
10:17:37
* @FilePath: /lls_program/src/components/RankingCard.vue
* @Description: 排行榜卡片组件
-->
...
...
@@ -249,6 +249,10 @@ const joinOrganization = () => {
Taro.navigateTo({
url: '/pages/JoinOrganization/index'
})
// 恢复默认选中状态
setTimeout(() => {
activeTab.value = 'shanghai'
}, 500);
}
// 加载状态
...
...
src/pages/FamilyRank/index.vue
View file @
edb239d
<!--
* @Date: 2025-09-01 13:07:52
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-29
09:57:42
* @LastEditTime: 2025-10-29
10:18:35
* @FilePath: /lls_program/src/pages/FamilyRank/index.vue
* @Description: 文件描述
-->
...
...
@@ -262,6 +262,10 @@ const joinOrganization = () => {
Taro.navigateTo({
url: '/pages/JoinOrganization/index'
})
// 恢复默认选中状态
setTimeout(() => {
activeTab.value = 'shanghai'
}, 500);
}
// 加载状态
...
...
Please
register
or
login
to post a comment