Commit f9c74bac authored by Steven杜宇's avatar Steven杜宇

// fix bug

parent d733281c
......@@ -206,7 +206,7 @@ extension YHPrincipleApprovedMailViewController {
if name.count > 5 {
name = String(name.prefix(5)) + "..."
}
let callName = self.viewModel.envelopModel.sex == 2 ? "女士" : "先生"
let callName = self.viewModel.waitResultModel.applicant.sex == 2 ? "女士" : "先生"
let title: ASAttributedString = .init("祝贺您,\(name)\(callName)!", .font(UIFont.PFSC_M(ofSize: 24)), .foreground(UIColor.mainTextColor))
titleLabel.attributed.text = title
......
......@@ -492,7 +492,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
if name.count > 5 {
name = String(name.prefix(5)) + "..."
}
let callName = self.viewModel.envelopModel.sex == 2 ? "女士" : "先生"
let callName = self.viewModel.waitResultModel.applicant.sex == 2 ? "女士" : "先生"
let title: ASAttributedString = .init("祝贺您,\(name)\(callName)!", .font(UIFont.PFSC_M(ofSize: 24)), .foreground(UIColor.mainTextColor))
titleLabel.attributed.text = title
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment