Commit bc1e482b authored by pete谢兆麟's avatar pete谢兆麟

添加提示文件

parent 144f86d9
......@@ -385,6 +385,10 @@ extension YHGCMySignatureDetailViewController: UITableViewDelegate, UITableViewD
emailInputView.textField.becomeFirstResponder()
}
if editType == .sendToWechat {
if self.viewModel.mainModel?.commonFile.count == 0 {
YHHUD.flash(message: "文件生成中")
return
}
self.viewModel.getPublicImageUrl(self.viewModel.mainModel?.commonFile ?? "") { [weak self] success, error in
YHHUD.hide()
guard let self = self else {
......@@ -597,6 +601,10 @@ extension YHGCMySignatureDetailViewController: UITableViewDelegate, UITableViewD
emailInputView.textField.becomeFirstResponder()
}
if editType == .sendToWechat {
if self.viewModel.mainModel?.commonFile.count == 0 {
YHHUD.flash(message: "文件生成中")
return
}
self.viewModel.getPublicImageUrl(self.viewModel.mainModel?.commonFile ?? "") { [weak self] success, error in
YHHUD.hide()
guard let self = self else {
......
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