@monoui/vuejs 1.1.89 → 1.1.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -338,9 +338,9 @@ export default {
|
|
|
338
338
|
dates[0].setHours(0, 0, 0, 0);
|
|
339
339
|
dates[1].setHours(0, 0, 0, 0);
|
|
340
340
|
if (!this.maxDate && this.minDate) {
|
|
341
|
-
return date
|
|
341
|
+
return date < dates[0];
|
|
342
342
|
} else if (!this.minDate && this.maxDate) {
|
|
343
|
-
return date
|
|
343
|
+
return date > dates[1];
|
|
344
344
|
} else {
|
|
345
345
|
return date < dates[0] || date > dates[1];
|
|
346
346
|
}
|