From 1613e6a0a21de6427f933ce9c19de2b26df723fc Mon Sep 17 00:00:00 2001 From: x_z Date: Sat, 9 Jul 2022 16:23:43 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E5=B7=A5=E5=85=B7=E6=96=B9=E6=B3=95=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E7=B1=BB=E5=9E=8B=E4=B8=8B=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/strUtil.js | 1 + 1 file changed, 1 insertion(+) 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;