dld-vue-ui 0.2.2 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -52,7 +52,7 @@ interface IPaneStyle {
52
52
  |`aside`|侧边栏|
53
53
  |`header`|头部|
54
54
 
55
- ## UpLoadFile文件上传
55
+ ## UpLoadFile单文件上传
56
56
 
57
57
  ### 属性
58
58
 
@@ -62,6 +62,7 @@ interface IPaneStyle {
62
62
  |`name`|上传按钮名称|`string`|上传文件|
63
63
  |`icon`|自`@element-plus/icons-vue`导入的图标|`Component`|`Upload`|
64
64
  |`type`|选择文件和上传文件的按钮类型|`ButtonType`|`success`|
65
+ |`accept`|选择文件的类型|string|`*`|
65
66
 
66
67
  ### 方法
67
68
 
@@ -75,6 +76,21 @@ interface IPaneStyle {
75
76
  |-----|----|-----|----|
76
77
  |`Clear`|清空选中文件|`Function`||
77
78
 
79
+ ## UpLoadFile多文件上传
80
+
81
+ ### 属性
82
+
83
+ |属性名|说明|类型|默认值|
84
+ |-----|----|-----|----|
85
+ |`size`|组件大小|`'small' \| 'default' \| 'large'`|`default`|
86
+ |`accept`|选择文件的类型|string|`*`|
87
+
88
+ ### 方法
89
+
90
+ |方法名|说明|类型|默认值|
91
+ |-----|----|-----|----|
92
+ |`upload`|上传文件方法,返回选中的File|`Function`|`(files: File[]): void`|
93
+
78
94
  ## TableForm表单表格
79
95
 
80
96
  ### 属性