@douyinfe/semi-foundation 2.68.2 → 2.68.3
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.
|
@@ -667,9 +667,11 @@ class TreeSelectFoundation extends _foundation.default {
|
|
|
667
667
|
const {
|
|
668
668
|
treeData,
|
|
669
669
|
filteredShownKeys,
|
|
670
|
-
keyEntities
|
|
671
|
-
keyMaps
|
|
670
|
+
keyEntities
|
|
672
671
|
} = this.getStates();
|
|
672
|
+
const {
|
|
673
|
+
keyMaps
|
|
674
|
+
} = this.getProps();
|
|
673
675
|
const showFilteredOnly = this._showFilteredOnly();
|
|
674
676
|
// clone otherwise will be modified unexpectedly
|
|
675
677
|
const filteredExpandedKeys = new Set(this.getState('filteredExpandedKeys'));
|
|
@@ -660,9 +660,11 @@ export default class TreeSelectFoundation extends BaseFoundation {
|
|
|
660
660
|
const {
|
|
661
661
|
treeData,
|
|
662
662
|
filteredShownKeys,
|
|
663
|
-
keyEntities
|
|
664
|
-
keyMaps
|
|
663
|
+
keyEntities
|
|
665
664
|
} = this.getStates();
|
|
665
|
+
const {
|
|
666
|
+
keyMaps
|
|
667
|
+
} = this.getProps();
|
|
666
668
|
const showFilteredOnly = this._showFilteredOnly();
|
|
667
669
|
// clone otherwise will be modified unexpectedly
|
|
668
670
|
const filteredExpandedKeys = new Set(this.getState('filteredExpandedKeys'));
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-foundation",
|
|
3
|
-
"version": "2.68.
|
|
3
|
+
"version": "2.68.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build:lib": "node ./scripts/compileLib.js",
|
|
7
7
|
"prepublishOnly": "npm run build:lib"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@douyinfe/semi-animation": "2.68.
|
|
10
|
+
"@douyinfe/semi-animation": "2.68.3",
|
|
11
11
|
"@mdx-js/mdx": "^3.0.1",
|
|
12
12
|
"async-validator": "^3.5.0",
|
|
13
13
|
"classnames": "^2.2.6",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"*.scss",
|
|
29
29
|
"*.css"
|
|
30
30
|
],
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "78686c4c6292e3a6cbd43896e8835ebfe96d4f84",
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
34
34
|
"@babel/preset-env": "^7.15.8",
|
package/treeSelect/foundation.ts
CHANGED
|
@@ -776,7 +776,8 @@ export default class TreeSelectFoundation<P = Record<string, any>, S = Record<st
|
|
|
776
776
|
return !allChecked;
|
|
777
777
|
}
|
|
778
778
|
handleNodeExpandInSearch(e: any, treeNode: BasicTreeNodeProps) {
|
|
779
|
-
const { treeData, filteredShownKeys, keyEntities
|
|
779
|
+
const { treeData, filteredShownKeys, keyEntities } = this.getStates();
|
|
780
|
+
const { keyMaps } = this.getProps();
|
|
780
781
|
const showFilteredOnly = this._showFilteredOnly();
|
|
781
782
|
// clone otherwise will be modified unexpectedly
|
|
782
783
|
const filteredExpandedKeys = new Set(this.getState('filteredExpandedKeys')) as Set<string>;
|