Commit 3f58e8c9 authored by David黄金龙's avatar David黄金龙

一处优化

parent 26d762be
...@@ -505,10 +505,7 @@ private extension YHPreviewViewModel { ...@@ -505,10 +505,7 @@ private extension YHPreviewViewModel {
let tmp8 = YHPreviewQuestionAndAnswerModel(question: "证件类别:", answer: str) let tmp8 = YHPreviewQuestionAndAnswerModel(question: "证件类别:", answer: str)
str = model2.passport.number str = model2.passport.number
if str.isEmpty { let tmp9 = YHPreviewQuestionAndAnswerModel(question: "证件号码:", answer: str.defaultStringIfEmpty())
str = "--"
}
let tmp9 = YHPreviewQuestionAndAnswerModel(question: "证件号码:", answer: str)
str = model2.passport.issueAt str = model2.passport.issueAt
let tmp10 = YHPreviewQuestionAndAnswerModel(question: "签发地:", answer: str.defaultStringIfEmpty()) let tmp10 = YHPreviewQuestionAndAnswerModel(question: "签发地:", answer: str.defaultStringIfEmpty())
......
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