cloud-b2b 1.1.83 → 1.1.84

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.
@@ -262,6 +262,7 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
262
262
  onClick: this.onClick
263
263
  }, /*#__PURE__*/React.createElement(_AutoComplete, this.getProps(), /*#__PURE__*/React.createElement(_Input, {
264
264
  suffix: suffix,
265
+ placeholder: this.props.placeholder,
265
266
  style: {
266
267
  backgroundColor: this.props.isBgColor ? '#f6ffc1' : ''
267
268
  }
@@ -257,6 +257,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
257
257
  });
258
258
  _defineProperty(_assertThisInitialized(_this2), "specialProps", function (type, _ref5) {
259
259
  var key = _ref5.key,
260
+ placeholder = _ref5.placeholder,
260
261
  _ref5$props = _ref5.props,
261
262
  props = _ref5$props === void 0 ? {} : _ref5$props,
262
263
  originType = _ref5.type;
@@ -278,7 +279,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
278
279
  } else {
279
280
  var _context5;
280
281
  return {
281
- onBlur: _bindInstanceProperty(_context5 = _this2.onExitValid).call(_context5, _assertThisInitialized(_this2), key)
282
+ onBlur: _bindInstanceProperty(_context5 = _this2.onExitValid).call(_context5, _assertThisInitialized(_this2), key),
283
+ placeholder: placeholder
282
284
  };
283
285
  }
284
286
  } else if (type === 'text' || type === 'textArea') {
@@ -270,6 +270,7 @@ var InputSearch = /*#__PURE__*/function (_React$Component) {
270
270
  onClick: this.onClick
271
271
  }, /*#__PURE__*/_react["default"].createElement(_autoComplete["default"], this.getProps(), /*#__PURE__*/_react["default"].createElement(_input["default"], {
272
272
  suffix: suffix,
273
+ placeholder: this.props.placeholder,
273
274
  style: {
274
275
  backgroundColor: this.props.isBgColor ? '#f6ffc1' : ''
275
276
  }
@@ -269,6 +269,7 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
269
269
  });
270
270
  (0, _defineProperty2["default"])((0, _assertThisInitialized2["default"])(_this2), "specialProps", function (type, _ref5) {
271
271
  var key = _ref5.key,
272
+ placeholder = _ref5.placeholder,
272
273
  _ref5$props = _ref5.props,
273
274
  props = _ref5$props === void 0 ? {} : _ref5$props,
274
275
  originType = _ref5.type;
@@ -290,7 +291,8 @@ var SuperForm2 = /*#__PURE__*/function (_React$Component2) {
290
291
  } else {
291
292
  var _context5;
292
293
  return {
293
- onBlur: (0, _bind["default"])(_context5 = _this2.onExitValid).call(_context5, (0, _assertThisInitialized2["default"])(_this2), key)
294
+ onBlur: (0, _bind["default"])(_context5 = _this2.onExitValid).call(_context5, (0, _assertThisInitialized2["default"])(_this2), key),
295
+ placeholder: placeholder
294
296
  };
295
297
  }
296
298
  } else if (type === 'text' || type === 'textArea') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cloud-b2b",
3
- "version": "1.1.83",
3
+ "version": "1.1.84",
4
4
  "description": "A react component library dependent antd",
5
5
  "keywords": [
6
6
  "react",