taro-ui 3.1.0-beta.1 → 3.1.0-beta.2

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/dist/index.esm.js CHANGED
@@ -4673,7 +4673,7 @@ var AtTextarea = /** @class */ (function (_super) {
4673
4673
  function AtTextarea() {
4674
4674
  var _this = _super !== null && _super.apply(this, arguments) || this;
4675
4675
  _this.handleInput = function (event) {
4676
- _this.props.onChange(event.target.value, event);
4676
+ _this.props.onChange(event.detail.value, event);
4677
4677
  };
4678
4678
  _this.handleFocus = function (event) {
4679
4679
  _this.props.onFocus && _this.props.onFocus(event);
@@ -5307,7 +5307,7 @@ var AtSearchBar = /** @class */ (function (_super) {
5307
5307
  _this.props.onBlur && _this.props.onBlur(event);
5308
5308
  };
5309
5309
  _this.handleChange = function (e) {
5310
- _this.props.onChange(e.target.value, e);
5310
+ _this.props.onChange(e.detail.value, e);
5311
5311
  };
5312
5312
  _this.handleClear = function (event) {
5313
5313
  if (_this.props.onClear) {