diff --git a/handler/escort_record.js b/handler/escort_record.js index 73fd32d..3b5ce35 100644 --- a/handler/escort_record.js +++ b/handler/escort_record.js @@ -11,7 +11,7 @@ class HandlerEscortRecord { // status解析成数组 const statusArray = null; - if (!status || status.length > 0) { + if (status && status.length > 0) { statusArray = status.split(',') }