From fcc30e1b247c0636e27f58ac729164ecad915528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 25 May 2023 00:33:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20checkbox=20=E5=9C=A8?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E8=AE=BE=E7=BD=AE=E5=8D=8A=E9=80=89=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=9B=BE=E6=A0=87=E6=9C=AA=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E6=88=90=E9=80=89=E4=B8=AD=E7=8A=B6=E6=80=81=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/form.js b/src/modules/form.js index 1c6ca300..d11ee935 100644 --- a/src/modules/form.js +++ b/src/modules/form.js @@ -658,7 +658,7 @@ layui.define(['lay', 'layer', 'util'], function(exports){ // 半选 if (check[0].indeterminate) { check[0].indeterminate = false; - reElem.find(CLASS.SUBTRA).removeClass(CLASS.SUBTRA).addClass('layui-icon-ok') + reElem.find('.'+ CLASS.SUBTRA).removeClass(CLASS.SUBTRA).addClass('layui-icon-ok'); } // 开关