Browse Source

添加判断条件

jsonwang 3 years ago
parent
commit
89b2f73372
1 changed files with 1 additions and 1 deletions
  1. 1 1
      BFFramework/Classes/Stuckpoint/View/PQSpeedSettingView.swift

+ 1 - 1
BFFramework/Classes/Stuckpoint/View/PQSpeedSettingView.swift

@@ -86,7 +86,7 @@ class PQSpeedSettingView: UIView {
                 }
                 }
             }
             }
             //如果有老数据先插入 补位
             //如果有老数据先插入 补位
-            if viewType == 3 && lastSelectModel != nil{
+            if viewType == 3 && insertModle != nil{
                 datas.insert(insertModle!, at: 5)
                 datas.insert(insertModle!, at: 5)
             }
             }