shineout 3.9.7-beta.5 → 3.9.7-beta.6
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/cjs/index.js +1 -1
- package/dist/shineout.js +4 -4
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.9.7-beta.
|
|
525
|
+
version: '3.9.7-beta.6'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12401,7 +12401,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12401
12401
|
};
|
|
12402
12402
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12403
12403
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12404
|
-
/* harmony default export */ var version = ('3.9.7-beta.
|
|
12404
|
+
/* harmony default export */ var version = ('3.9.7-beta.6');
|
|
12405
12405
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12406
12406
|
|
|
12407
12407
|
|
|
@@ -40857,7 +40857,7 @@ var useTree = function useTree(props) {
|
|
|
40857
40857
|
var indexPath = [].concat(toConsumableArray_default()(index), [i]);
|
|
40858
40858
|
ids.push(id);
|
|
40859
40859
|
var children = [];
|
|
40860
|
-
if (Array.isArray(item[childrenKey])) {
|
|
40860
|
+
if (item && Array.isArray(item[childrenKey])) {
|
|
40861
40861
|
var _children = initData(item[childrenKey], [].concat(toConsumableArray_default()(path), [id]), mode === MODE.MODE_4 ? disabled : _isDisabled, indexPath, level + 1, id);
|
|
40862
40862
|
if (_children) children = _children;
|
|
40863
40863
|
}
|
|
@@ -40893,7 +40893,7 @@ var useTree = function useTree(props) {
|
|
|
40893
40893
|
result.push(node);
|
|
40894
40894
|
}
|
|
40895
40895
|
}
|
|
40896
|
-
if (Array.isArray(item[childrenKey])) {
|
|
40896
|
+
if (item && Array.isArray(item[childrenKey])) {
|
|
40897
40897
|
initFlatData(item[childrenKey], [].concat(toConsumableArray_default()(path), [id]), level + 1, id, result);
|
|
40898
40898
|
}
|
|
40899
40899
|
}
|
|
@@ -75049,7 +75049,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
75049
75049
|
|
|
75050
75050
|
|
|
75051
75051
|
/* harmony default export */ var src_0 = ({
|
|
75052
|
-
version: '3.9.7-beta.
|
|
75052
|
+
version: '3.9.7-beta.6'
|
|
75053
75053
|
});
|
|
75054
75054
|
}();
|
|
75055
75055
|
/******/ return __webpack_exports__;
|