From e86e19e5e5909f46e09adec1df430e0214a81590 Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期三, 18 十月 2023 18:34:19 +0800 Subject: [PATCH] 修复BUG --- WanPai/Root/Other/View/StudentChooseView.swift | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/WanPai/Root/Other/View/StudentChooseView.swift b/WanPai/Root/Other/View/StudentChooseView.swift index 302d59c..25ec2d0 100644 --- a/WanPai/Root/Other/View/StudentChooseView.swift +++ b/WanPai/Root/Other/View/StudentChooseView.swift @@ -68,10 +68,12 @@ } if itemType == .course{ studentChooseView.tableView.register(UINib(nibName: "StudentInfoTCell", bundle: nil), forCellReuseIdentifier: "_StudentInfoTCell") + studentChooseView.btn_add.setTitle("添加运动营成员", for: .normal) }else if itemType == .activity{ studentChooseView.tableView.register(UINib(nibName: "StudentInfo_2_TCell", bundle: nil), forCellReuseIdentifier: "_StudentInfo_2_TCell") + studentChooseView.btn_add.setTitle("添加人员", for: .normal) } - + studentChooseView.frame = sceneDelegate?.window?.frame ?? .zero studentChooseView.itemType = itemType studentChooseView.clickClouse = clickClouse -- Gitblit v1.7.1