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.
- package/css/Cascader/Cascader.js +4 -2
- package/css/index.d.ts +1 -1
- package/css/index.js +1 -1
- package/dist/shineout.js +941 -847
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/es/Cascader/Cascader.js +4 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/lib/Cascader/Cascader.js +4 -2
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/css/Cascader/Cascader.js
CHANGED
|
@@ -300,8 +300,10 @@ function (_PureComponent) {
|
|
|
300
300
|
|
|
301
301
|
_proto.handleRemove = function handleRemove(node) {
|
|
302
302
|
var onChange = this.props.onChange;
|
|
303
|
-
|
|
304
|
-
|
|
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