fix: upload 组件 number 属性必填警告

This commit is contained in:
就眠儀式 2022-03-31 14:52:58 +08:00
parent dcbcae256c
commit c89ffec504
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@layui/layui-vue", "name": "@layui/layui-vue",
"version": "0.4.5-alpha.1", "version": "0.4.5-alpha.2",
"author": "就眠儀式", "author": "就眠儀式",
"license": "MIT", "license": "MIT",
"description": "a component library for Vue 3 base on layui-vue", "description": "a component library for Vue 3 base on layui-vue",

View File

@ -20,7 +20,7 @@ export interface LayUploadProps {
field?: string; field?: string;
size?: number; size?: number;
multiple?: boolean; multiple?: boolean;
number: number; number?: number;
drag?: boolean; drag?: boolean;
} }