Commit 643e052c authored by pete谢兆麟's avatar pete谢兆麟

预览联调

parent f2466bcf
......@@ -688,4 +688,18 @@ extension YHJsApi {
}
}
}
@objc func goPreviewFile(_ url: String) {
DispatchQueue.main.async {
let viewModel = YHBaseViewModel()
viewModel.getPublicImageUrl(url) { success, error in
YHHUD.hide()
if let success = success {
let tool = YHFilePreviewTool(targetVC: UIViewController.current)
tool.openXLSXRemoteFile(urlString: success, fileName: "")
}
}
}
}
}
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