nuke-input
Advanced tools
Comparing version 1.0.31 to 1.0.32
# Changelog | ||
## 1.0.32 / 2017-12-28 | ||
* [[21ace5c](http://gitlab.alibaba-inc.com/nuke/input/commit/21ace5c33acd27db50c606f129381dce577c5a42)] - `feat` add value check | ||
## 1.0.31 / 2017-12-27 | ||
@@ -5,0 +9,0 @@ |
@@ -107,3 +107,3 @@ 'use strict'; | ||
value: function componentWillReceiveProps(nextProps) { | ||
if ('value' in nextProps) { | ||
if ('value' in nextProps && typeof nextProps.value === 'string') { | ||
this.setState({ | ||
@@ -110,0 +110,0 @@ value: nextProps.value, |
@@ -91,3 +91,3 @@ 'use strict'; | ||
value: function componentWillReceiveProps(nextProps) { | ||
if ('value' in nextProps) { | ||
if ('value' in nextProps && typeof nextProps.value === 'string') { | ||
this.setState({ | ||
@@ -94,0 +94,0 @@ value: nextProps.value, |
{ | ||
"name": "nuke-input", | ||
"version": "1.0.31", | ||
"version": "1.0.32", | ||
"description": "输入框", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
138182