From 77041c81c325c0bc88c94dc28d732f656cc4c885 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期二, 17 十月 2023 18:28:29 +0800 Subject: [PATCH] 修复BUG --- WanPai/Root/Other/View/StudentChooseView.swift | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WanPai/Root/Other/View/StudentChooseView.swift b/WanPai/Root/Other/View/StudentChooseView.swift index a1f96ec..302d59c 100644 --- a/WanPai/Root/Other/View/StudentChooseView.swift +++ b/WanPai/Root/Other/View/StudentChooseView.swift @@ -153,7 +153,7 @@ let item = stuViewModel.dataSource.value[indexPath.row] if self.selectStudents.contains(where: {($0 as! CourseDetailStudentModel).id == item.id}){ if self.selectStudents.count == 1{ - alert(msg: "至少选择一位学员");return + alert(msg: "至少选择一位运动营成员");return } if let index = self.selectStudents.firstIndex(where: {($0 as! CourseDetailStudentModel).id == item.id}){ self.selectStudents.remove(at: index) @@ -165,7 +165,7 @@ let item = actViewModel.dataSource.value[indexPath.row] if self.selectStudents.contains(where: {($0 as! ActivityDetailPartModel).id == item.id}){ if self.selectStudents.count == 1{ - alert(msg: "至少选择一位参赛学员");return + alert(msg: "至少选择一位参赛运动营成员");return } if let index = self.selectStudents.firstIndex(where: {($0 as! ActivityDetailPartModel).id == item.id}){ self.selectStudents.remove(at: index) -- Gitblit v1.7.1