shineout 3.9.10-beta.6 → 3.9.11-beta.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/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.10-beta.6'
525
+ version: '3.9.11-beta.1'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12402,7 +12402,7 @@ var handleStyle = function handleStyle(style) {
12402
12402
  };
12403
12403
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12404
12404
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12405
- /* harmony default export */ var version = ('3.9.10-beta.6');
12405
+ /* harmony default export */ var version = ('3.9.11-beta.1');
12406
12406
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12407
12407
 
12408
12408
 
@@ -44539,7 +44539,8 @@ var useFieldSetConsumer = function useFieldSetConsumer(props) {
44539
44539
  var _React$useContext = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useContext(FieldsetContext),
44540
44540
  path = _React$useContext.path;
44541
44541
  var bind = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useMemo(function () {
44542
- var _bind = path ? (props.bind || []).concat(path) : props.bind;
44542
+ var propsBind = props.bind ? Array.isArray(props.bind) ? props.bind : [props.bind] : undefined;
44543
+ var _bind = path ? (propsBind || []).concat(path) : propsBind;
44543
44544
  // 只有当路径中包含超过1个索引时才需要去掉最后一个索引
44544
44545
  return _bind === null || _bind === void 0 ? void 0 : _bind.map(function (b) {
44545
44546
  var indexCount = (b.match(/\[\d+\]/g) || []).length;
@@ -75554,7 +75555,7 @@ var upload_interface = __webpack_require__(8821);
75554
75555
 
75555
75556
 
75556
75557
  /* harmony default export */ var src_0 = ({
75557
- version: '3.9.10-beta.6'
75558
+ version: '3.9.11-beta.1'
75558
75559
  });
75559
75560
  }();
75560
75561
  /******/ return __webpack_exports__;