From 631b2e6296119cb2ecf69a5f159617546cc45fd5 Mon Sep 17 00:00:00 2001 From: "lee.hungyu" Date: Thu, 27 Apr 2023 10:52:06 +0900 Subject: [PATCH] =?UTF-8?q?[#6047]=20=ED=85=8C=EC=9D=B4=EB=B8=94=20?= =?UTF-8?q?=EB=B9=88=EA=B0=92=20=EC=B2=98=EB=A6=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/common.js b/src/util/common.js index dffae0f7f4..a92c55f5ea 100644 --- a/src/util/common.js +++ b/src/util/common.js @@ -45,7 +45,7 @@ const Common = { if (Array.isArray(str)) { return str.map((x) => Common.toNumber(x)); } - if (!_isNaN(parseInt(str, 10))) { + if (!_isNaN(parseInt(str, 10)) && !_isNaN(_toNumber(str))) { return _toNumber(str); } return str;