From be25a7600512b49c28b5e8b00efcbfbea4b27227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Wed, 30 May 2018 17:24:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96datepicker=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/js/datepicker/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/js/datepicker/index.js b/src/js/datepicker/index.js index d9741d5..66b6b4e 100644 --- a/src/js/datepicker/index.js +++ b/src/js/datepicker/index.js @@ -220,7 +220,6 @@ export default Anot.component('datepicker', { if (props.minDate) { if (!Date.isDate(props.minDate)) { - props.minDate += ' GMT+8000' props.minDate = new Date(props.minDate) } if (defVal <= props.minDate) { @@ -233,7 +232,6 @@ export default Anot.component('datepicker', { if (props.maxDate) { if (!Date.isDate(props.maxDate)) { - props.maxDate += ' GMT+8000' props.maxDate = new Date(props.maxDate) } if (defVal >= props.maxDate) {