新增删除弹窗,修改bug

This commit is contained in:
2026-02-04 16:57:19 +08:00
parent 533e23ebfe
commit 3e30f619b9
5 changed files with 349 additions and 22 deletions

View File

@@ -99,8 +99,12 @@
- (void)sendButtonTapped {
NSString *text = self.textField.text;
if (text.length > 0 && self.onSend) {
self.onSend(text);
if (text.length > 0) {
if (self.onSend) {
self.onSend(text);
}
//
[self clearText];
}
}