【战斗0.0.6】修复判断数据是否存在接口错误
parent
a3b8be0abe
commit
8081350fbe
|
|
@ -374,10 +374,8 @@ end
|
||||||
function BattleUtil.ChecklistIsContainValue(_list,_value)
|
function BattleUtil.ChecklistIsContainValue(_list,_value)
|
||||||
if _list and _value then
|
if _list and _value then
|
||||||
for key, value in pairs(_list) do
|
for key, value in pairs(_list) do
|
||||||
if value==_value then
|
if value ==_value then
|
||||||
return true
|
return true
|
||||||
else
|
|
||||||
return false
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue