This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

优化datepicker组件

old
宇天 2018-05-30 17:24:22 +08:00
parent 346e18fe5f
commit be25a76005
1 changed files with 0 additions and 2 deletions

View File

@ -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) {