Browse Source

1.新增preset支持

wenweiwei 3 years ago
parent
commit
32b436c5ab

+ 4 - 1
BFFramework/Classes/Stuckpoint/Controller/PQStuckPointMaterialController.swift

@@ -265,13 +265,16 @@ public class PQStuckPointMaterialController: PQBaseViewController {
 
     override func backBtnClick() {
         super.backBtnClick()
+        if isPresent {
+            postNotification(name: cFinishedPublishedNotiKey)
+        }
         // 卡点视频返回按钮点击上报
         PQEventTrackViewModel.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_click_back, pageSource: .sp_stuck_selectMaterial, extParams: nil, remindmsg: "卡点视频数据上报-(点击上报:返回按钮)")
     }
 
     // 返回
     @objc func dismissVc() {
-        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.5) {[weak self] in
+        DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.2) { [weak self] in
             if self?.isPresent ?? false {
                 self?.dismiss(animated: true, completion: nil)
             }