hookehuyr

fix(RankingCard): 修复查看更多后未重置选中状态的问题

在查看更多操作后延迟500毫秒重置activeTab为默认值'shanghai',确保UI状态一致性
<!--
* @Date: 2025-01-09 00:00:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-28 16:58:49
* @LastEditTime: 2025-10-29 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);
}
}
......