WXL
3 天以前 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7
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
}