diff --git a/package/component/src/component/checkbox/index.less b/package/component/src/component/checkbox/index.less index fb3ce9c8..f5d3d076 100644 --- a/package/component/src/component/checkbox/index.less +++ b/package/component/src/component/checkbox/index.less @@ -1,3 +1,7 @@ +.layui-checkbox input[type="checkbox"] { + display: none; +} + .layui-form-checkbox { position: relative; height: 30px; diff --git a/package/component/src/component/checkbox/index.vue b/package/component/src/component/checkbox/index.vue index 40472e9e..1194c2bd 100644 --- a/package/component/src/component/checkbox/index.vue +++ b/package/component/src/component/checkbox/index.vue @@ -94,7 +94,7 @@ const handleClick = function () {