修复 checkbox 复选框 modelValue 属性必填警告

This commit is contained in:
就眠儀式 2021-12-25 12:35:40 +08:00
parent 2eb7a7ebdc
commit 919af851c2
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
<li>
<h3>0.3.0 <span class="layui-badge-rim">2021-12-25</span></h3>
<ul>
<li>[修复] checkbox 复选框 modelValue 属性必填警告。</li>
<li>[修复] formItem 内下拉框组件校验不通过边框未标红问题。</li>
<li>[修复] rate 评分 mouseleave 事件绑定警告。</li>
<li>[集成] eslint, prettier 规范插件 。</li>

View File

@ -12,7 +12,7 @@ export interface LayCheckboxProps {
name?: string;
skin?: string;
label: string | object;
modelValue: boolean | Array<string | object>;
modelValue?: boolean | Array<string | object>;
disabled?: boolean;
}