This commit is contained in:
启星
2025-11-28 22:43:06 +08:00
parent 8913ea6f48
commit 7eb4f8d3b8
197 changed files with 7315 additions and 666 deletions

View File

@@ -260,6 +260,9 @@
__block int timeCount = 60;
_timer = [QXTimer scheduledTimerWithTimeInterval:1 repeats:YES queue:dispatch_get_main_queue() block:^{
timeCount--;
if (self == nil) {
return;
}
if (timeCount<=0) {
[self->_timer invalidate];
self->_codeBtn.userInteractionEnabled = YES;
@@ -269,4 +272,10 @@
}
}];
}
-(void)dealloc{
if (_timer) {
[_timer invalidate];
_timer = nil;
}
}
@end