รีเซ็ต date
This commit is contained in:
parent
9814c9f01a
commit
92aaccc791
3 changed files with 43 additions and 15 deletions
|
|
@ -1755,7 +1755,11 @@ watch(
|
|||
(value: string) => {
|
||||
if (value.length === 10) {
|
||||
const dateVal = convertDate(value);
|
||||
finishDate.value = dateVal.value;
|
||||
if (dateVal.isValid) {
|
||||
finishDate.value = dateVal.value;
|
||||
} else {
|
||||
finishDateInput.value = "";
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue