diff --git a/components/RankingPopup.vue b/components/RankingPopup.vue index 86d061a..d174f86 100644 --- a/components/RankingPopup.vue +++ b/components/RankingPopup.vue @@ -384,10 +384,13 @@ export default { // 关闭人数排行榜,显示金额排行榜 closePeopleRanking() { this.showPeopleRanking = false - // 延迟显示金额排行榜,让关闭动画完成 - setTimeout(() => { - this.showAmountRanking = true - }, 300) + if (this.amountTopThree.length > 0) { + setTimeout(() => { + this.showAmountRanking = true + }, 300) + } else { + this.$emit('onRankingComplete') + } }, // 关闭金额排行榜