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

// 获批信预览

parent 38165286
......@@ -89,12 +89,8 @@ class YHPrincipleEnvelopeCell: UITableViewCell {
@objc func didWatchClicked() {
guard let model = itemModel else { return }
if !model.url.isEmpty {
self.viewModel.getPublicImageUrl(model.url) { success, error in
if let success = success {
self.previewFileTool.openXLSXRemoteFile(urlString: success, fileName:model.name)
}
}
self.previewFileTool.openXLSXRemoteFile(urlString: model.url, fileName:model.name)
let key = self.getUrlKey(model)
UserDefaults.standard.set(true, forKey: key)
......
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