fix: emit null
This commit is contained in:
parent
e7c0f5fab3
commit
4b4684961b
|
|
@ -164,8 +164,8 @@ watch(
|
|||
|
||||
function emitChanged() {
|
||||
const args = {
|
||||
dateFrom: from.value === '' ? '' : from.value,
|
||||
dateTo: to.value === '' ? '' : to.value,
|
||||
dateFrom: from.value === '' ? null : from.value,
|
||||
dateTo: to.value === '' ? null : to.value,
|
||||
}
|
||||
emit('update:modelValue', args)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue