@@ -116,7 +116,7 @@ class PQSpeedSettingView: UIView {
/// - setEnable: 设置不可用状态
func setSelectItem(index:Int,isSettingPlayer:Bool = true,setDisable:Bool = false,isCancle:Bool = false) {
BFLog(message: "setSelectItem is \(index)")
- if(index < 0 && index >= datas.count){
+ if(index < 0 || index >= datas.count){
BFLog(message: "选择位置数据出错\(index)")
return
}