diff --git a/components/calendar/index.jsx b/components/calendar/index.jsx index c4cdfb32b..0411a8c8b 100644 --- a/components/calendar/index.jsx +++ b/components/calendar/index.jsx @@ -117,15 +117,14 @@ export default { }, setValue (value, way) { - if (!hasProp(this, 'value')) { - this.setState({ sValue: value }) - } if (way === 'select') { this.$emit('select', value) - this.$emit('change', value) } else if (way === 'changePanel') { this.onPanelChange(value, this.sMode) } + if (!hasProp(this, 'value')) { + this.setState({ sValue: value }) + } }, setType (type) {