From 2b133a75c3199d0e737ad2263f670c834d769ab1 Mon Sep 17 00:00:00 2001
From: r <r@gmail.com>
Date: 星期二, 09 九月 2025 11:36:24 +0800
Subject: [PATCH] 修改代码

---
 WanPai/Common/View/WorldCupListRankView.swift |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/WanPai/Common/View/WorldCupListRankView.swift b/WanPai/Common/View/WorldCupListRankView.swift
index e304308..e148b0d 100644
--- a/WanPai/Common/View/WorldCupListRankView.swift
+++ b/WanPai/Common/View/WorldCupListRankView.swift
@@ -40,7 +40,7 @@
     
     @IBOutlet weak var sureAction: UIButton!
     
-    private var clouse:((Int)->Void)!
+    private var clouse:((Int,String)->Void)!
     
     @IBOutlet weak var tabview: UITableView!
     
@@ -65,7 +65,7 @@
         sureAction.layer.cornerRadius = 5
        
     }
-    static func show(arr:[GetWorldCupListFromRank]?, clouse:@escaping (Int) -> Void){
+    static func show(arr:[GetWorldCupListFromRank]?, clouse:@escaping (Int,String) -> Void){
         
         let alertView = WorldCupListRankView.jq_loadNibView()
         alertView.clouse = clouse
@@ -93,7 +93,7 @@
         if dataSoure?.count == 0 {
             return
         }
-        self.clouse(dataSoure?[self.selectIndex].worldCupId  ?? 0)
+        self.clouse(dataSoure?[self.selectIndex].worldCupId  ?? 0,dataSoure?[self.selectIndex].name ?? "")
         UIView.animate(withDuration: 0.4) {
             self.alpha = 0
             self.layoutIfNeeded()

--
Gitblit v1.7.1