Commit 1f701c7f authored by Steven杜宇's avatar Steven杜宇

// 点击文件预览

parent c25810c3
...@@ -557,10 +557,14 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData ...@@ -557,10 +557,14 @@ extension YHCertificateUploadContentListVC: UITableViewDelegate, UITableViewData
} else if indexPath.section == 1 { // 证件列表 } else if indexPath.section == 1 { // 证件列表
if 0 <= indexPath.row && indexPath.row < items.count { if 0 <= indexPath.row && indexPath.row < items.count {
let cer = items[indexPath.row] let cer = items[indexPath.row]
print("\(cer.url)") if !cer.url.isEmpty {
print("\(cer.name)") print(cer.url)
print("\(cer.suffix)") self.viewModel.getPublicImageUrl(cer.url) { success, error in
if let success = success {
self.previewFileTool.openXLSXRemoteFile(urlString: success, fileName:cer.name)
}
}
}
} }
} }
} }
......
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