WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/@dcloudio/uni-ui/lib/uni-datetime-picker/util.js
@@ -389,8 +389,8 @@
}
function dateCompare(startDate, endDate) {
   startDate = new Date(fixIosDateFormat(startDate))
   endDate = new Date(fixIosDateFormat(endDate))
   startDate = new Date(fixIosDateFormat(typeof startDate === 'string' ? startDate.trim() : startDate))
   endDate = new Date(fixIosDateFormat(typeof endDate === 'string' ? endDate.trim() : endDate))
   return startDate <= endDate
}