diff --git a/src/utils/strUtil.js b/src/utils/strUtil.js index 0389b58..85395bb 100644 --- a/src/utils/strUtil.js +++ b/src/utils/strUtil.js @@ -3,6 +3,7 @@ export function isBlank(value) { if (value === "" || value === null || value === undefined) { return true; } + value = value + ""; value = value.trim(); if ("" === value || value === "string" || value === "undefined") { return true;