From fa9c940c629ce3898ed368ba961988e8df150988 Mon Sep 17 00:00:00 2001 From: Guoli Guan <18322693247@163.com> Date: Wed, 20 Apr 2022 17:48:50 +0000 Subject: [PATCH] =?UTF-8?q?fix:=E5=9C=9F=E8=80=B3=E5=85=B6=E8=AF=ADtoLocal?= =?UTF-8?q?eLowerCase=E6=97=A0=E6=B3=95=E5=8C=B9=E9=85=8D=E6=AD=A3?= =?UTF-8?q?=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/laydate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/laydate.js b/src/modules/laydate.js index f9122ae..a719e49 100644 --- a/src/modules/laydate.js +++ b/src/modules/laydate.js @@ -1524,7 +1524,7 @@ //是否输入框 Class.prototype.isInput = function(elem){ - return /input|textarea/.test(elem.tagName.toLocaleLowerCase()); + return /input|textarea/.test(elem.tagName.toLocaleLowerCase()) || /INPUT|TEXTAREA/.test(elem.tagName); }; //绑定的元素事件处理