@sheinx/base 3.9.16-beta.6 → 3.9.16-beta.7

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.
@@ -104,7 +104,7 @@ var CascaderNode = function CascaderNode(props) {
104
104
  handleChange(null, !checked);
105
105
  };
106
106
  var isHoverAble = expandTrigger === 'hover' || expandTrigger === 'hover-only';
107
- var isRealLeafNode = !hasChildren && !uncertainChildren;
107
+ var isRealLeafNode = !hasChildren && !uncertainChildren && !loading;
108
108
  var getEvents = function getEvents() {
109
109
  var events = {};
110
110
  if (expandTrigger !== 'hover-only' || !hasChildren) {
@@ -98,7 +98,7 @@ var CascaderNode = function CascaderNode(props) {
98
98
  handleChange(null, !checked);
99
99
  };
100
100
  var isHoverAble = expandTrigger === 'hover' || expandTrigger === 'hover-only';
101
- var isRealLeafNode = !hasChildren && !uncertainChildren;
101
+ var isRealLeafNode = !hasChildren && !uncertainChildren && !loading;
102
102
  var getEvents = function getEvents() {
103
103
  var events = {};
104
104
  if (expandTrigger !== 'hover-only' || !hasChildren) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.9.16-beta.6",
3
+ "version": "3.9.16-beta.7",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.9.16-beta.6",
13
+ "@sheinx/hooks": "3.9.16-beta.7",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"