ep-craft 0.2.0 → 0.2.1
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/dist-ai/components/affix.json +2 -2
- package/dist-ai/components/affix.md +1 -1
- package/dist-ai/components/alert.json +2 -2
- package/dist-ai/components/alert.md +1 -1
- package/dist-ai/components/anchor-link.json +2 -2
- package/dist-ai/components/anchor-link.md +1 -1
- package/dist-ai/components/anchor.json +2 -2
- package/dist-ai/components/anchor.md +1 -1
- package/dist-ai/components/aside.json +2 -2
- package/dist-ai/components/aside.md +1 -1
- package/dist-ai/components/autocomplete.json +85 -85
- package/dist-ai/components/autocomplete.md +34 -34
- package/dist-ai/components/avatar.json +2 -2
- package/dist-ai/components/avatar.md +1 -1
- package/dist-ai/components/backtop.json +2 -2
- package/dist-ai/components/backtop.md +1 -1
- package/dist-ai/components/badge.json +2 -2
- package/dist-ai/components/badge.md +1 -1
- package/dist-ai/components/breadcrumb-item.json +2 -2
- package/dist-ai/components/breadcrumb-item.md +1 -1
- package/dist-ai/components/breadcrumb.json +2 -2
- package/dist-ai/components/breadcrumb.md +1 -1
- package/dist-ai/components/button-group.json +5 -5
- package/dist-ai/components/button-group.md +2 -2
- package/dist-ai/components/button.json +2 -2
- package/dist-ai/components/button.md +1 -1
- package/dist-ai/components/calendar.json +2 -2
- package/dist-ai/components/calendar.md +1 -1
- package/dist-ai/components/card.json +6 -6
- package/dist-ai/components/card.md +3 -3
- package/dist-ai/components/carousel-item.json +2 -2
- package/dist-ai/components/carousel-item.md +1 -1
- package/dist-ai/components/carousel.json +2 -2
- package/dist-ai/components/carousel.md +1 -1
- package/dist-ai/components/cascader-panel.json +2 -2
- package/dist-ai/components/cascader-panel.md +1 -1
- package/dist-ai/components/cascader.json +8 -8
- package/dist-ai/components/cascader.md +3 -3
- package/dist-ai/components/check-tag.json +2 -2
- package/dist-ai/components/check-tag.md +1 -1
- package/dist-ai/components/checkbox-button.json +2 -2
- package/dist-ai/components/checkbox-button.md +1 -1
- package/dist-ai/components/checkbox-group.json +2 -2
- package/dist-ai/components/checkbox-group.md +1 -1
- package/dist-ai/components/checkbox.json +2 -2
- package/dist-ai/components/checkbox.md +1 -1
- package/dist-ai/components/col.json +2 -2
- package/dist-ai/components/col.md +1 -1
- package/dist-ai/components/collapse-item.json +2 -2
- package/dist-ai/components/collapse-item.md +1 -1
- package/dist-ai/components/collapse-transition.json +2 -2
- package/dist-ai/components/collapse-transition.md +1 -1
- package/dist-ai/components/collapse.json +2 -2
- package/dist-ai/components/collapse.md +1 -1
- package/dist-ai/components/color-picker.json +2 -2
- package/dist-ai/components/color-picker.md +1 -1
- package/dist-ai/components/config-provider.json +2 -2
- package/dist-ai/components/config-provider.md +1 -1
- package/dist-ai/components/container.json +2 -2
- package/dist-ai/components/container.md +1 -1
- package/dist-ai/components/countdown.json +2 -2
- package/dist-ai/components/countdown.md +1 -1
- package/dist-ai/components/date-picker-panel.json +8 -8
- package/dist-ai/components/date-picker-panel.md +4 -4
- package/dist-ai/components/date-picker.json +64 -64
- package/dist-ai/components/date-picker.md +24 -24
- package/dist-ai/components/descriptions-item.json +2 -2
- package/dist-ai/components/descriptions-item.md +1 -1
- package/dist-ai/components/descriptions.json +2 -2
- package/dist-ai/components/descriptions.md +1 -1
- package/dist-ai/components/dialog.json +25 -25
- package/dist-ai/components/dialog.md +10 -10
- package/dist-ai/components/divider.json +2 -2
- package/dist-ai/components/divider.md +1 -1
- package/dist-ai/components/drawer.json +52 -52
- package/dist-ai/components/drawer.md +19 -19
- package/dist-ai/components/dropdown-item.json +2 -2
- package/dist-ai/components/dropdown-item.md +1 -1
- package/dist-ai/components/dropdown-menu.json +4 -4
- package/dist-ai/components/dropdown-menu.md +2 -2
- package/dist-ai/components/dropdown.json +2 -2
- package/dist-ai/components/dropdown.md +1 -1
- package/dist-ai/components/empty.json +2 -2
- package/dist-ai/components/empty.md +1 -1
- package/dist-ai/components/footer.json +2 -2
- package/dist-ai/components/footer.md +1 -1
- package/dist-ai/components/form-item.json +5 -5
- package/dist-ai/components/form-item.md +2 -2
- package/dist-ai/components/form.json +2 -2
- package/dist-ai/components/form.md +1 -1
- package/dist-ai/components/header.json +2 -2
- package/dist-ai/components/header.md +1 -1
- package/dist-ai/components/icon.json +2 -2
- package/dist-ai/components/icon.md +1 -1
- package/dist-ai/components/image-viewer.json +2 -2
- package/dist-ai/components/image-viewer.md +1 -1
- package/dist-ai/components/image.json +2 -2
- package/dist-ai/components/image.md +1 -1
- package/dist-ai/components/input-number.json +4 -4
- package/dist-ai/components/input-number.md +2 -2
- package/dist-ai/components/input.json +21 -21
- package/dist-ai/components/input.md +9 -9
- package/dist-ai/components/link.json +2 -2
- package/dist-ai/components/link.md +1 -1
- package/dist-ai/components/main.json +2 -2
- package/dist-ai/components/main.md +1 -1
- package/dist-ai/components/mention.json +85 -85
- package/dist-ai/components/mention.md +34 -34
- package/dist-ai/components/menu-item-group.json +2 -2
- package/dist-ai/components/menu-item-group.md +1 -1
- package/dist-ai/components/menu-item.json +2 -2
- package/dist-ai/components/menu-item.md +1 -1
- package/dist-ai/components/menu.json +2 -2
- package/dist-ai/components/menu.md +1 -1
- package/dist-ai/components/option-group.json +2 -2
- package/dist-ai/components/option-group.md +1 -1
- package/dist-ai/components/option.json +5 -5
- package/dist-ai/components/option.md +2 -2
- package/dist-ai/components/page-header.json +2 -2
- package/dist-ai/components/page-header.md +1 -1
- package/dist-ai/components/pagination.json +9 -9
- package/dist-ai/components/pagination.md +4 -4
- package/dist-ai/components/popconfirm.json +2 -2
- package/dist-ai/components/popconfirm.md +1 -1
- package/dist-ai/components/popover.json +19 -19
- package/dist-ai/components/popover.md +7 -7
- package/dist-ai/components/popper.json +2 -2
- package/dist-ai/components/popper.md +1 -1
- package/dist-ai/components/progress.json +5 -5
- package/dist-ai/components/progress.md +2 -2
- package/dist-ai/components/radio-button.json +7 -7
- package/dist-ai/components/radio-button.md +3 -3
- package/dist-ai/components/radio-group.json +12 -12
- package/dist-ai/components/radio-group.md +5 -5
- package/dist-ai/components/radio.json +2 -2
- package/dist-ai/components/radio.md +1 -1
- package/dist-ai/components/rate.json +4 -4
- package/dist-ai/components/rate.md +2 -2
- package/dist-ai/components/result.json +2 -2
- package/dist-ai/components/result.md +1 -1
- package/dist-ai/components/row.json +2 -2
- package/dist-ai/components/row.md +1 -1
- package/dist-ai/components/scrollbar.json +4 -4
- package/dist-ai/components/scrollbar.md +2 -2
- package/dist-ai/components/segmented.json +2 -2
- package/dist-ai/components/segmented.md +1 -1
- package/dist-ai/components/select-v2.json +2 -2
- package/dist-ai/components/select-v2.md +1 -1
- package/dist-ai/components/select.json +44 -44
- package/dist-ai/components/select.md +16 -16
- package/dist-ai/components/skeleton-item.json +2 -2
- package/dist-ai/components/skeleton-item.md +1 -1
- package/dist-ai/components/skeleton.json +2 -2
- package/dist-ai/components/skeleton.md +1 -1
- package/dist-ai/components/slider.json +9 -9
- package/dist-ai/components/slider.md +4 -4
- package/dist-ai/components/space.json +5 -5
- package/dist-ai/components/space.md +2 -2
- package/dist-ai/components/statistic.json +2 -2
- package/dist-ai/components/statistic.md +1 -1
- package/dist-ai/components/step.json +2 -2
- package/dist-ai/components/step.md +1 -1
- package/dist-ai/components/steps.json +2 -2
- package/dist-ai/components/steps.md +1 -1
- package/dist-ai/components/sub-menu.json +2 -2
- package/dist-ai/components/sub-menu.md +1 -1
- package/dist-ai/components/switch.json +13 -13
- package/dist-ai/components/switch.md +6 -6
- package/dist-ai/components/tab-pane.json +2 -2
- package/dist-ai/components/tab-pane.md +1 -1
- package/dist-ai/components/table-column.json +8 -8
- package/dist-ai/components/table-column.md +4 -4
- package/dist-ai/components/table-v2.json +2 -2
- package/dist-ai/components/table-v2.md +1 -1
- package/dist-ai/components/table.json +37 -37
- package/dist-ai/components/table.md +16 -16
- package/dist-ai/components/tabs.json +7 -7
- package/dist-ai/components/tabs.md +3 -3
- package/dist-ai/components/tag.json +2 -2
- package/dist-ai/components/tag.md +1 -1
- package/dist-ai/components/text.json +2 -2
- package/dist-ai/components/text.md +1 -1
- package/dist-ai/components/time-picker.json +2 -2
- package/dist-ai/components/time-picker.md +1 -1
- package/dist-ai/components/time-select.json +2 -2
- package/dist-ai/components/time-select.md +1 -1
- package/dist-ai/components/timeline-item.json +2 -2
- package/dist-ai/components/timeline-item.md +1 -1
- package/dist-ai/components/timeline.json +2 -2
- package/dist-ai/components/timeline.md +1 -1
- package/dist-ai/components/tooltip.json +72 -72
- package/dist-ai/components/tooltip.md +30 -30
- package/dist-ai/components/tour-step.json +2 -2
- package/dist-ai/components/tour-step.md +1 -1
- package/dist-ai/components/tour.json +2 -2
- package/dist-ai/components/tour.md +1 -1
- package/dist-ai/components/transfer.json +2 -2
- package/dist-ai/components/transfer.md +1 -1
- package/dist-ai/components/tree-select.json +135 -135
- package/dist-ai/components/tree-select.md +50 -50
- package/dist-ai/components/tree-v2.json +2 -2
- package/dist-ai/components/tree-v2.md +1 -1
- package/dist-ai/components/tree.json +2 -2
- package/dist-ai/components/tree.md +1 -1
- package/dist-ai/components/upload.json +7 -7
- package/dist-ai/components/upload.md +3 -3
- package/dist-ai/components/watermark.json +2 -2
- package/dist-ai/components/watermark.md +1 -1
- package/dist-ai/directives/click-outside.json +2 -2
- package/dist-ai/directives/click-outside.md +1 -1
- package/dist-ai/directives/infinite-scroll.json +2 -2
- package/dist-ai/directives/infinite-scroll.md +1 -1
- package/dist-ai/directives/loading.json +2 -2
- package/dist-ai/directives/loading.md +1 -1
- package/dist-ai/directives/mousewheel.json +2 -2
- package/dist-ai/directives/mousewheel.md +1 -1
- package/dist-ai/directives/repeat-click.json +2 -2
- package/dist-ai/directives/repeat-click.md +1 -1
- package/dist-ai/directives/trap-focus.json +2 -2
- package/dist-ai/directives/trap-focus.md +1 -1
- package/dist-ai/icons.json +1 -1
- package/dist-ai/index.json +1 -1
- package/dist-ai/llms.txt +1 -1
- package/dist-ai/manifest.json +714 -714
- package/dist-ai/services/infinite-scroll.json +2 -2
- package/dist-ai/services/infinite-scroll.md +1 -1
- package/dist-ai/services/loading.json +2 -2
- package/dist-ai/services/loading.md +1 -1
- package/dist-ai/services/message-box.json +2 -2
- package/dist-ai/services/message-box.md +1 -1
- package/dist-ai/services/message.json +2 -2
- package/dist-ai/services/message.md +1 -1
- package/dist-ai/services/notification.json +2 -2
- package/dist-ai/services/notification.md +1 -1
- package/package.json +1 -1
|
@@ -24,62 +24,62 @@
|
|
|
24
24
|
|
|
25
25
|
## Props
|
|
26
26
|
|
|
27
|
-
- name (
|
|
28
|
-
- id (
|
|
27
|
+
- name (string):原生 name 属性
|
|
28
|
+
- id (string):原生 id 属性
|
|
29
29
|
- modelValue(别名 v-model) (TreeKey | TreeKey[],默认 见文档):绑定值,多选时为数组
|
|
30
|
-
- autocomplete (
|
|
31
|
-
- automaticDropdown (
|
|
30
|
+
- autocomplete (string,默认 off):原生 autocomplete 属性
|
|
31
|
+
- automaticDropdown (boolean):获取焦点后是否自动弹出下拉框
|
|
32
32
|
- size ('large' | 'default' | 'small'):尺寸
|
|
33
|
-
- effect (
|
|
33
|
+
- effect ('dark' | 'light',默认 light):下拉框主题
|
|
34
34
|
- disabled (boolean,默认 见文档):是否禁用
|
|
35
35
|
- clearable (boolean):是否可清空
|
|
36
36
|
- filterable (boolean):是否可搜索
|
|
37
|
-
- allowCreate (
|
|
38
|
-
- loading (
|
|
37
|
+
- allowCreate (boolean):是否允许用户创建新条目
|
|
38
|
+
- loading (boolean):是否正在从远程获取数据
|
|
39
39
|
- popperClass (string,默认 见文档):下拉框自定义类名
|
|
40
|
-
- popperStyle (
|
|
41
|
-
- popperOptions (
|
|
42
|
-
- remote (
|
|
43
|
-
- debounce (
|
|
44
|
-
- loadingText (
|
|
45
|
-
- noMatchText (
|
|
46
|
-
- noDataText (
|
|
47
|
-
- remoteMethod (
|
|
48
|
-
- filterMethod (
|
|
40
|
+
- popperStyle (string | object):下拉框的自定义样式
|
|
41
|
+
- popperOptions (object,默认 {}):popper.js 参数
|
|
42
|
+
- remote (boolean):是否为远程搜索
|
|
43
|
+
- debounce (number,默认 300):远程搜索去抖延迟(毫秒)
|
|
44
|
+
- loadingText (string):远程加载时显示的文字
|
|
45
|
+
- noMatchText (string):搜索条件无匹配时显示的文字
|
|
46
|
+
- noDataText (string):无选项时显示的文字
|
|
47
|
+
- remoteMethod ((query: string) => void):远程搜索方法
|
|
48
|
+
- filterMethod ((query: string) => void):自定义搜索过滤方法
|
|
49
49
|
- multiple (boolean):是否多选
|
|
50
|
-
- multipleLimit (
|
|
50
|
+
- multipleLimit (number,默认 0):多选时可被选择的最大数目(0 为不限制)
|
|
51
51
|
- placeholder (string):占位符
|
|
52
|
-
- defaultFirstOption (
|
|
53
|
-
- reserveKeyword (
|
|
52
|
+
- defaultFirstOption (boolean):按下回车是否选择第一个匹配项
|
|
53
|
+
- reserveKeyword (boolean,默认 true):多选且可搜索时选中后是否保留关键字
|
|
54
54
|
- valueKey (string,默认 value):选项对象中作为 value 的键名
|
|
55
55
|
- collapseTags (boolean):多选时是否折叠标签
|
|
56
56
|
- collapseTagsTooltip (boolean):折叠标签悬停时是否展示全部标签
|
|
57
|
-
- tagTooltip (
|
|
58
|
-
- maxCollapseTags (
|
|
57
|
+
- tagTooltip (object,默认 {}):折叠标签 tooltip 的配置对象
|
|
58
|
+
- maxCollapseTags (number,默认 1):需要显示的 Tag 的最大数量
|
|
59
59
|
- teleported (boolean,默认 见文档):是否将下拉框 teleport 到 body
|
|
60
|
-
- persistent (
|
|
61
|
-
- clearIcon (
|
|
62
|
-
- fitInputWidth (
|
|
63
|
-
- suffixIcon (
|
|
64
|
-
- tagType (
|
|
65
|
-
- tagEffect (
|
|
60
|
+
- persistent (boolean,默认 true):下拉框关闭后是否保留 DOM
|
|
61
|
+
- clearIcon (string | Component,默认 CircleClose):自定义清空图标
|
|
62
|
+
- fitInputWidth (boolean):下拉框宽度是否与输入框一致
|
|
63
|
+
- suffixIcon (string | Component,默认 ArrowDown):自定义后缀图标
|
|
64
|
+
- tagType ('success' | 'info' | 'warning' | 'danger',默认 info):标签类型
|
|
65
|
+
- tagEffect ('dark' | 'light' | 'plain',默认 light):标签主题
|
|
66
66
|
- validateEvent (boolean,默认 true):是否触发表单校验
|
|
67
|
-
- remoteShowSuffix (
|
|
68
|
-
- showArrow (
|
|
69
|
-
- offset (
|
|
70
|
-
- placement (
|
|
71
|
-
- fallbackPlacements (
|
|
72
|
-
- tabindex (
|
|
73
|
-
- appendTo (
|
|
74
|
-
- options (
|
|
67
|
+
- remoteShowSuffix (boolean):远程搜索时是否显示后缀图标
|
|
68
|
+
- showArrow (boolean,默认 true):是否显示下拉箭头
|
|
69
|
+
- offset (number,默认 12):下拉框出现的偏移量
|
|
70
|
+
- placement (Placement,默认 bottom-start):下拉框出现的位置
|
|
71
|
+
- fallbackPlacements (Placement[],默认 ['bottom-start', 'top-start', 'right', 'left']):下拉框可能出现的备用位置列表
|
|
72
|
+
- tabindex (string | number,默认 0):输入框的 tabindex
|
|
73
|
+
- appendTo (string | HTMLElement):下拉列表挂载到哪个元素
|
|
74
|
+
- options (Array):以数据驱动方式提供的选项列表
|
|
75
75
|
- props ({ children?: string; label?: string; disabled?: string },默认 { children: 'children', label: 'label', disabled: 'disabled' }):树节点字段映射
|
|
76
|
-
- floatLabel (
|
|
77
|
-
- emptyValues (
|
|
78
|
-
- valueOnClear (
|
|
79
|
-
- ariaLabel (
|
|
80
|
-
- ariaLabelledby (
|
|
76
|
+
- floatLabel (boolean,默认 false):是否启用浮动标签(Material 风格),聚焦或有值时占位文本上浮
|
|
77
|
+
- emptyValues (any[]):视为空值的值列表
|
|
78
|
+
- valueOnClear (string | number | boolean | Function | null,默认 undefined):清空时写入的值
|
|
79
|
+
- ariaLabel (string):原生 aria-label 属性
|
|
80
|
+
- ariaLabelledby (string):原生 aria-labelledby 属性
|
|
81
81
|
- data (TreeData,默认 []):树数据
|
|
82
|
-
- emptyText (
|
|
82
|
+
- emptyText (string):无数据时显示的文本
|
|
83
83
|
- renderAfterExpand (boolean,默认 true):是否在第一次展开时才渲染子节点
|
|
84
84
|
- nodeKey (string):树节点唯一标识的属性名
|
|
85
85
|
- checkStrictly (boolean):勾选时是否不关联父子节点
|
|
@@ -91,19 +91,19 @@
|
|
|
91
91
|
- autoExpandParent (boolean,默认 true):是否自动展开父节点
|
|
92
92
|
- defaultCheckedKeys (TreeKey[]):默认勾选的节点 key 数组
|
|
93
93
|
- defaultExpandedKeys (TreeKey[]):默认展开的节点 key 数组
|
|
94
|
-
- currentNodeKey (
|
|
95
|
-
- renderContent (
|
|
94
|
+
- currentNodeKey (string | number):当前选中节点的 key
|
|
95
|
+
- renderContent ((h, { node, data, store }) => VNode):树节点的渲染内容函数
|
|
96
96
|
- showCheckbox (boolean):是否显示复选框
|
|
97
|
-
- draggable (
|
|
98
|
-
- allowDrag (
|
|
99
|
-
- allowDrop (
|
|
97
|
+
- draggable (boolean):是否开启拖拽节点功能
|
|
98
|
+
- allowDrag ((node) => boolean):判断节点能否被拖拽
|
|
99
|
+
- allowDrop ((draggingNode, dropNode, type: 'prev' | 'inner' | 'next') => boolean):拖拽时判定目标节点能否被放置
|
|
100
100
|
- lazy (boolean):是否懒加载子节点,需配合 load 使用
|
|
101
101
|
- highlightCurrent (boolean):是否高亮当前选中节点
|
|
102
102
|
- load ((node, resolve, reject) => void):加载子节点的方法
|
|
103
103
|
- filterNodeMethod ((value, data, node) => boolean):过滤树节点的函数
|
|
104
|
-
- accordion (
|
|
105
|
-
- indent (
|
|
106
|
-
- icon (
|
|
104
|
+
- accordion (boolean):是否每次只展开一个同级节点
|
|
105
|
+
- indent (number,默认 18):相邻级节点的缩进,单位 px
|
|
106
|
+
- icon (string | Component):自定义节点图标
|
|
107
107
|
- cacheData (TreeData,默认 []):懒加载节点缓存数据,结构与 data 相同
|
|
108
108
|
|
|
109
109
|
## Events
|
|
@@ -178,4 +178,4 @@ const data = [
|
|
|
178
178
|
|
|
179
179
|
---
|
|
180
180
|
|
|
181
|
-
ep-craft 0.2.
|
|
181
|
+
ep-craft 0.2.1
|
|
@@ -156,11 +156,11 @@
|
|
|
156
156
|
{
|
|
157
157
|
"alias": null,
|
|
158
158
|
"defaultText": null,
|
|
159
|
-
"description": "",
|
|
159
|
+
"description": "原生 crossorigin 属性",
|
|
160
160
|
"hasDefault": false,
|
|
161
161
|
"name": "crossorigin",
|
|
162
162
|
"required": false,
|
|
163
|
-
"type": "
|
|
163
|
+
"type": "'anonymous' | 'use-credentials' | ''"
|
|
164
164
|
},
|
|
165
165
|
{
|
|
166
166
|
"alias": null,
|
|
@@ -308,12 +308,12 @@
|
|
|
308
308
|
},
|
|
309
309
|
{
|
|
310
310
|
"alias": null,
|
|
311
|
-
"defaultText":
|
|
312
|
-
"description": "",
|
|
311
|
+
"defaultText": "false",
|
|
312
|
+
"description": "是否支持上传文件夹",
|
|
313
313
|
"hasDefault": false,
|
|
314
314
|
"name": "directory",
|
|
315
315
|
"required": false,
|
|
316
|
-
"type": "
|
|
316
|
+
"type": "boolean"
|
|
317
317
|
}
|
|
318
318
|
],
|
|
319
319
|
"related": [
|
|
@@ -376,7 +376,7 @@
|
|
|
376
376
|
]
|
|
377
377
|
}
|
|
378
378
|
},
|
|
379
|
-
"generatedAt": "2026-11-
|
|
380
|
-
"libraryVersion": "0.2.
|
|
379
|
+
"generatedAt": "2026-11-04T07:48:29.153Z",
|
|
380
|
+
"libraryVersion": "0.2.1",
|
|
381
381
|
"schemaVersion": 1
|
|
382
382
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
- onProgress ((event: UploadProgressEvent, uploadFile: UploadFile, uploadFiles: UploadFiles) => void,默认 见文档):文件上传时的钩子
|
|
33
33
|
- onError ((error: Error, uploadFile: UploadFile, uploadFiles: UploadFiles) => void,默认 见文档):文件上传失败时的钩子
|
|
34
34
|
- onExceed ((files: File[], uploadFiles: UploadUserFile[]) => void,默认 见文档):当超出限制时执行的钩子函数
|
|
35
|
-
- crossorigin (
|
|
35
|
+
- crossorigin ('anonymous' | 'use-credentials' | ''):原生 crossorigin 属性
|
|
36
36
|
- action (string,默认 '#'):请求 URL
|
|
37
37
|
- headers (Record<string, any>):设置上传的请求头部
|
|
38
38
|
- method (string,默认 post):设置上传请求方法
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
- httpRequest ((options: UploadRequestOptions) => XMLHttpRequest | Promise<unknown>,默认 见文档):覆盖默认的 Xhr 行为
|
|
50
50
|
- disabled (boolean,默认 false):是否禁用上传
|
|
51
51
|
- limit (number):允许上传文件的最大数量
|
|
52
|
-
- directory (
|
|
52
|
+
- directory (boolean):是否支持上传文件夹
|
|
53
53
|
|
|
54
54
|
## Slots
|
|
55
55
|
|
|
@@ -127,4 +127,4 @@ import { EpButton, EpUpload } from 'ep-craft'
|
|
|
127
127
|
|
|
128
128
|
---
|
|
129
129
|
|
|
130
|
-
ep-craft 0.2.
|
|
130
|
+
ep-craft 0.2.1
|