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/Course/VC/AddStudentVC.swift | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/WanPai/Root/Course/VC/AddStudentVC.swift b/WanPai/Root/Course/VC/AddStudentVC.swift index a13959b..bf74633 100644 --- a/WanPai/Root/Course/VC/AddStudentVC.swift +++ b/WanPai/Root/Course/VC/AddStudentVC.swift @@ -44,6 +44,11 @@ title = "添加运动营成员" if studentInfo != nil{ title = "编辑运动营成员" + tf_name.placeholder = "请输入运动营成员姓名" + tf_height.placeholder = "请输入运动营成员身高" + tf_weight.placeholder = "请输入运动营成员体重" + tf_phone.placeholder = "请输入运动营成员联系方式" + tf_idCard.placeholder = "请输入运动营成员身份证号" tf_name.text = studentInfo!.stuName tf_idCard.text = studentInfo!.idCard tf_height.text = String(format: "%.0lf", studentInfo!.stuHeight) @@ -56,6 +61,11 @@ } }else{ title = "添加人员" + tf_name.placeholder = "请输入人员姓名" + tf_height.placeholder = "请输入人员身高" + tf_weight.placeholder = "请输入人员体重" + tf_phone.placeholder = "请输入人员联系方式" + tf_idCard.placeholder = "请输入人员身份证号" } let idCardView = IDCardView() -- Gitblit v1.7.1