shineout 1.12.6-beta.8 → 1.12.6-beta.9

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.
@@ -300,8 +300,10 @@ function (_PureComponent) {
300
300
 
301
301
  _proto.handleRemove = function handleRemove(node) {
302
302
  var onChange = this.props.onChange;
303
- this.datum.set(this.datum.getKey(node), 0);
304
- if (onChange) onChange(this.datum.getValue(), node);
303
+ var datum = this.datum;
304
+ var dataKey = node && datum.isUnMatch(node) ? node.value : datum.getKey(node);
305
+ datum.set(dataKey, 0);
306
+ if (onChange) onChange(datum.getValue(), node);
305
307
  };
306
308
 
307
309
  _proto.handleState = function handleState(focus, e) {
package/css/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as utils from './utils'
3
3
 
4
4
  declare const __default: {
5
5
  utils: typeof utils,
6
- version: '1.12.6-beta.8'
6
+ version: '1.12.6-beta.9'
7
7
  }
8
8
 
9
9
  export default __default
package/css/index.js CHANGED
@@ -224,6 +224,6 @@ exports.Upload = _Upload.default;
224
224
  // Created by scripts/src-index.js.
225
225
  var _default = {
226
226
  utils: utils,
227
- version: '1.12.6-beta.8'
227
+ version: '1.12.6-beta.9'
228
228
  };
229
229
  exports.default = _default;