diff options
author | 崖鹰 <zhao.wuz@alipay.com> | 2015-11-19 11:38:19 +0800 |
---|---|---|
committer | 崖鹰 <zhao.wuz@alipay.com> | 2015-11-19 11:38:19 +0800 |
commit | c09a8a345410454173131c6c3cab1e33cf6e8d7d (patch) | |
tree | 37a9bbe59fae32ae02340ac7d4813b18cb4240e1 /examples/pick-time.js | |
parent | 554ab3b634b0cd640e26962845c84b898626c9ff (diff) | |
download | time-picker-c09a8a345410454173131c6c3cab1e33cf6e8d7d.tar.gz time-picker-c09a8a345410454173131c6c3cab1e33cf6e8d7d.tar.zst time-picker-c09a8a345410454173131c6c3cab1e33cf6e8d7d.zip |
Updates
Diffstat (limited to 'examples/pick-time.js')
-rw-r--r-- | examples/pick-time.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/pick-time.js b/examples/pick-time.js index 09d962e..fdf4851 100644 --- a/examples/pick-time.js +++ b/examples/pick-time.js | |||
@@ -22312,9 +22312,12 @@ webpackJsonp([0,1],[ | |||
22312 | this.savePanelRef = refFn.bind(this, 'panelInstance'); | 22312 | this.savePanelRef = refFn.bind(this, 'panelInstance'); |
22313 | var _props = this.props; | 22313 | var _props = this.props; |
22314 | var open = _props.open; | 22314 | var open = _props.open; |
22315 | var value = _props.value; | 22315 | var defaultValue = _props.defaultValue; |
22316 | 22316 | ||
22317 | return { open: open, value: value }; | 22317 | return { |
22318 | open: open, | ||
22319 | value: defaultValue | ||
22320 | }; | ||
22318 | }, | 22321 | }, |
22319 | 22322 | ||
22320 | componentWillReceiveProps: function componentWillReceiveProps(nextProps) { | 22323 | componentWillReceiveProps: function componentWillReceiveProps(nextProps) { |