Ver Fonte

6X 时选中错误问题

jsonwang há 3 anos atrás
pai
commit
e7f30c7184

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

@@ -141,7 +141,7 @@ class PQSpeedSettingView: UIView {
        
         if viewType == 3{
             if(index > 4 && datas.count < 7 && enableInsert){
-                if(index >= datas.count){
+                if(index >= datas.count - 1){
                     let model = PQSpeedTitleModel()
                     model.title = "\(index + 1)x"
                     model.maxSpeed = Float(index + 1)