From 0c89e362069e2f97d18a01a3a82835ef37a34d18 Mon Sep 17 00:00:00 2001
From: 无故事王国 <841720330@qq.com>
Date: 星期四, 20 六月 2024 14:23:59 +0800
Subject: [PATCH] fix

---
 DolphinEnglishLearnStudent/Config/Config.swift |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/DolphinEnglishLearnStudent/Config/Config.swift b/DolphinEnglishLearnStudent/Config/Config.swift
index 50d659d..30f8221 100644
--- a/DolphinEnglishLearnStudent/Config/Config.swift
+++ b/DolphinEnglishLearnStudent/Config/Config.swift
@@ -110,7 +110,7 @@
 extension UIButton{
 				public func openCountDown(_ t:Int = 59,defultTitle:String = "获取验证码",textColor:UIColor,unenableColor:UIColor){
 								var time = t //倒计时时间
-								let queue = DispatchQueue.global()
+								let queue = DispatchQueue.main
 								let timer = DispatchSource.makeTimerSource(flags: [], queue: queue)
 								timer.schedule(wallDeadline: DispatchWallTime.now(), repeating: .seconds(1));
 								timer.setEventHandler(handler: {

--
Gitblit v1.7.1