quasar-ui-danx 0.0.33 → 0.0.34
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -87,16 +87,21 @@ function toQDateValue(val) {
|
|
87
87
|
}
|
88
88
|
|
89
89
|
const dateRangeValue = computed(() => {
|
90
|
-
let range
|
90
|
+
let range;
|
91
91
|
|
92
|
-
if (typeof
|
92
|
+
if (typeof dateRange.value === 'string') {
|
93
93
|
range = {
|
94
|
-
from:
|
95
|
-
to:
|
94
|
+
from: dateRange.value,
|
95
|
+
to: dateRange.value
|
96
|
+
};
|
97
|
+
} else if (dateRange.value) {
|
98
|
+
range = {
|
99
|
+
from: dateRange.value.from,
|
100
|
+
to: dateRange.value.to
|
96
101
|
};
|
97
102
|
}
|
98
103
|
|
99
|
-
if (range?.from && range?.to && props.withTime) {
|
104
|
+
if (range?.from && range?.to && props.withTime && !range.from.includes('00:00:00')) {
|
100
105
|
range.from += ' 00:00:00';
|
101
106
|
range.to += ' 23:59:59';
|
102
107
|
}
|