Commit 3c4e7cc5 authored by Steven杜宇's avatar Steven杜宇

// 原则批

parent 3ef01ece
......@@ -153,7 +153,8 @@ class YHPrincipleProfileListCell: UITableViewCell {
let url = model.applicationFileNumberAttachment
var name = "申请确认通知书"
if !url.pathExtension.isEmpty {
name = name + "." + url.pathExtension
let cleanedExtension = url.pathExtension.components(separatedBy: "?").first ?? ""
name = name + "." + cleanedExtension
}
let m = YHPrincipleFileModel(value:url, name:name, btnTitle: "查看")
items.append(m)
......
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