修改bug

This commit is contained in:
2026-01-27 17:03:16 +08:00
parent 2b749cd2b0
commit e67bc37571
4 changed files with 134 additions and 35 deletions

View File

@@ -61,6 +61,18 @@
return self;
}
/// Cell
- (void)prepareForReuse {
[super prepareForReuse];
//
[self.chatView stopPlayingAudio];
//
self.isLoading = NO;
self.hasLoadedData = NO;
}
#pragma mark - 1
- (void)setupUI {
@@ -130,6 +142,8 @@
self.nameLabel.text = persona.name;
self.openingLabel.text = persona.shortDesc.length > 0 ? persona.shortDesc : persona.introText;
//
[self.chatView stopPlayingAudio];
[self.chatView clearMessages];
}