nuke-input
Advanced tools
Comparing version 1.0.49 to 1.0.50
# Changelog | ||
## 1.0.50 / 2018-02-06 | ||
* [[31dff61](http://gitlab.alibaba-inc.com/nuke/input/commit/31dff61cd02f5ae6aa5230e5ba657e21dad06d17)] - `fix` fix value change to null bug | ||
## 1.0.49 / 2018-02-06 | ||
@@ -5,0 +9,0 @@ |
@@ -11,2 +11,4 @@ 'use strict'; | ||
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; | ||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
@@ -61,3 +63,3 @@ | ||
} | ||
return nextProps.readOnly !== this.props.readOnly || nextProps.disabled !== this.props.disabled; | ||
return _typeof(nextProps.value) !== _typeof(this.props.value) || nextProps.readOnly !== this.props.readOnly || nextProps.disabled !== this.props.disabled; | ||
} | ||
@@ -64,0 +66,0 @@ }, { |
{ | ||
"name": "nuke-input", | ||
"version": "1.0.49", | ||
"version": "1.0.50", | ||
"description": "输入框", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
180419
2301