修复 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

@@ -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;
}