hookehuyr

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

在查看更多操作后延迟500毫秒重置activeTab为默认值'shanghai',确保UI状态一致性
1 <!-- 1 <!--
2 * @Date: 2025-01-09 00:00:00 2 * @Date: 2025-01-09 00:00:00
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-10-28 16:58:49 4 + * @LastEditTime: 2025-10-29 09:42:53
5 * @FilePath: /lls_program/src/components/RankingCard.vue 5 * @FilePath: /lls_program/src/components/RankingCard.vue
6 * @Description: 排行榜卡片组件 6 * @Description: 排行榜卡片组件
7 --> 7 -->
...@@ -445,7 +445,11 @@ const formatSupportSteps = (steps) => { ...@@ -445,7 +445,11 @@ const formatSupportSteps = (steps) => {
445 */ 445 */
446 const handleViewMore = () => { 446 const handleViewMore = () => {
447 if (props.onViewMore) { 447 if (props.onViewMore) {
448 - props.onViewMore() 448 + props.onViewMore();
449 + // 恢复默认选中状态
450 + setTimeout(() => {
451 + activeTab.value = 'shanghai'
452 + }, 500);
449 } 453 }
450 } 454 }
451 455
......