统一格式化

pull/79/head
liuning 2018-10-18 10:50:00 +08:00
parent f97c162112
commit d0258bb184
1 changed files with 1024 additions and 1025 deletions

View File

@ -988,8 +988,6 @@
}); });
isOut = timestrap.now < timestrap.min || timestrap.now > timestrap.max; isOut = timestrap.now < timestrap.min || timestrap.now > timestrap.max;
elem && elem[isOut ? 'addClass' : 'removeClass'](DISABLED);
//禁止选择日期 //禁止选择日期
let notAllowDays = options.notAllowDays; let notAllowDays = options.notAllowDays;
if (notAllowDays != undefined && notAllowDays.length != 0) { if (notAllowDays != undefined && notAllowDays.length != 0) {
@ -1010,6 +1008,7 @@
isOut = !isMatch; isOut = !isMatch;
} }
} }
elem && elem[isOut ? 'addClass' : 'removeClass'](DISABLED);
return isOut; return isOut;
}; };