You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.en-US.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@
57
57
-`Collapse` added `ghost`, `collapsible`
58
58
-`Popconfirm` added `cancelButton`, `okButton`, and `esc` button hiding
59
59
-`ConfigProvider` added ConfigProvider.config to define the configuration of `Modal.xxx``message``notification`
60
-
-`Tree``TreeSlelct`
60
+
-`Tree``TreeSelect`
61
61
62
62
- Added virtual scrolling, discarded using `a-tree-node``a-tree-select-node` to build nodes, using `treeData` property instead to improve component performance
63
63
- Deprecated `scopedSlots``slots` custom rendering node, and replace it with `v-slot:title` to improve ease of use, avoid slot configuration expansion, and also avoid slot conflicts
Copy file name to clipboardExpand all lines: components/tree-select/index.en-US.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,8 @@ Tree selection control.
41
41
| treeCheckable | Whether to show checkbox on the treeNodes | boolean | false ||
42
42
| treeCheckStrictly | Whether to check nodes precisely (in the `checkable` mode), means parent and child nodes are not associated, and it will make `labelInValue` be true | boolean | false ||
43
43
| treeData | Data of the treeNodes, manual construction work is no longer needed if this property has been set(ensure the Uniqueness of each value) | array\<{ value, title, children, \[disabled, disableCheckbox, selectable] }> |\[]||
44
-
| replaceFields | Replace the title,value, key and children fields in treeNode with the corresponding fields in treeData | object | { children:'children', title:'title', key:'key', value: 'value' } || 1.6.1 |
44
+
| replaceFields | Replace the title,value, key and children fields in treeNode with the corresponding fields in treeData | object | { children:'children', label:'title', key:'key', value: 'value' } || 1.6.1 (3.0.0 deprecated) |
45
+
| fieldNames | Replace the title,value, key and children fields in treeNode with the corresponding fields in treeData | object | {children:'children', label:'title', key:'key', value: 'value' } || 3.0.0 |
45
46
| treeDataSimpleMode | Enable simple mode of treeData. Changes the `treeData` schema to: \[{id:1, pId:0, value:'1', title:"test1",...},...] where pId is parent node's id). It is possible to replace the default `id` and `pId` keys by providing object to `treeDataSimpleMode`| false\|object\<{ id: string, pId: string, rootPId: null }> | false ||
46
47
| treeDefaultExpandAll | Whether to expand all treeNodes by default | boolean | false ||
Copy file name to clipboardExpand all lines: site/src/vueDocs/migration-v3.en-US.md
+4-3
Original file line number
Diff line number
Diff line change
@@ -22,9 +22,10 @@ The 2.x version is a compatible version developed for compatibility with Vue 3.
22
22
- Removed the `combobox` mode of Select, please use `AutoComplete` instead.
23
23
- Deprecated Button.Group, please use `Space` instead.
24
24
-`DatePicker``TimePicker``Calendar` remove momentjs, please use dayjs instead
25
-
-`Tree`, `TreeSlelct`
25
+
-`Tree`, `TreeSelect`
26
26
- Deprecated the use of `a-tree-node` and `a-tree-select-node` to construct nodes, use the `treeData` property instead
27
27
- Deprecated `scopedSlots``slots` custom rendering node, use `v-slot:title` instead
28
+
- Deprecated `replaceFields`, use `fieldNames` instead
28
29
-`Table`
29
30
- Removed the `rowSelection.hideDefaultSelections` property of Table, please use `SELECTION_ALL` and `SELECTION_INVERT` in `rowSelection.selections` instead, [custom options](/components/table/#components-table-demo- row-selection-custom).
30
31
- Removed Column slots and replaced them with `v-slot:headerCell``v-slot:headerCell``v-slot:bodyCell``v-slot:customFilterDropdown``v-slot:customFilterIcon`
@@ -33,9 +34,9 @@ The 2.x version is a compatible version developed for compatibility with Vue 3.
33
34
34
35
In order to make the components have better performance and maintainability, we have used TS + Composition Api to refactor almost all components. There are still very few components that have not been refactored. Such components will be refactored gradually in the future, and the rest There will be no destructive updates to the components, so there is no need to worry about future upgrade costs.
35
36
36
-
Major updates after the 3.0 version refactoring include `Tree``TreeSlelct``DatePicker``TimePicker``Calendar``Form``Table`, other components also have corresponding function updates, you can check ChangeLog for further details
37
+
Major updates after the 3.0 version refactoring include `Tree``TreeSelect``DatePicker``TimePicker``Calendar``Form``Table`, other components also have corresponding function updates, you can check ChangeLog for further details
37
38
38
-
-`Tree``TreeSlelct`
39
+
-`Tree``TreeSelect`
39
40
40
41
- Added virtual scrolling, discarded using `a-tree-node``a-tree-select-node` to build nodes, using `treeData` property instead to improve component performance
41
42
- Deprecated `scopedSlots``slots` custom rendering node, and replace it with `v-slot:title` to improve ease of use, avoid slot configuration expansion, and also avoid slot conflicts
0 commit comments