镇念塔:派遣参数错误

This commit is contained in:
luying
2022-09-05 15:03:02 +08:00
parent 9fbf0c386d
commit bd51945c0b

View File

@@ -744,7 +744,7 @@ export function checkRouteParam(route: string, msg: any) {
case "battle.towerBattleHandler.sendTaskHero":
{
let { batchCode, tasks } = msg;
if(!checkNaturalStrings(batchCode)) return false;
if(!checkStringIfExist(batchCode)) return false;
if(!checkNaturalArray(tasks)) return false;
for(let { taskCode, heroes } of tasks) {
if(!checkNaturalStrings(taskCode)) return false;