|
@@ -118,10 +118,11 @@ class INIntroduceController: BFBaseViewController {
|
|
|
}
|
|
|
|
|
|
@objc func exportAction() {
|
|
|
- if recordScreenVC.itemModels.count == 1
|
|
|
- && recordScreenVC.itemModels[0].mediaType == .IMAGE
|
|
|
- && recordScreenVC.itemModels[0].voiceStickers.count == 0{
|
|
|
- cShowHUB(superView: nil, msg: "开局一张图也要编些话吧:)")
|
|
|
+ let count = recordScreenVC.itemModels.reduce(0, { partialResult, model in
|
|
|
+ model.voiceStickers.count + partialResult
|
|
|
+ })
|
|
|
+ if count == 0 {
|
|
|
+ cShowHUB(superView: nil, msg: "需要添加录制才能合成")
|
|
|
return
|
|
|
}
|
|
|
|