< A Date Picker- V-Model = "sel.bpub_date" type = "dateRange" Placement = "bottom-End" placeholder = "select date" style = "width: 200px" > </ a Date-Picker >
As shown in the figure above, the Date-picker component v-model is bound to sel.bpud_date, and after resetting this.sel.bpud_date=”, the date condition is sent to search and the date format is incorrect. The reason is that the date parameter of the ajax request is not passed to the background, causing the background processing to report an error.
The solution is as follows:
this.sel.bpub_date[0]=''; this.sel.bpub_date[1]='';
It can be solved: the date parameter of the ajax request is not passed to the background.
Similar Posts:
- flutter_cupertino_date_picker Compile Error: The type ‘DiagnosticableMixin’ can’t be mixed in
- Using Vue + Axios: axios.post error: request failed with status code 400 is one of the solutions
- [Solved] java.lang.IllegalArgumentException: Cannot format given Object as a Date
- [How to Solve] Failed to convert value of type ‘java.lang.String’ to required type ‘java.util.Date’;
- ValueError: day is out of range for month [How to Solve]
- ValueError: day is out of range for month [How to Solve]
- Get the time value from the database and report an error: Java sql. Timestamp cannot be cast to java. lang.Long
- JAVA Error: Failed to convert property value of type ‘java.lang.String‘ to required type ‘java.util.Date
- [Solved] JS Ajax uploads an error “uncaught type error: illegal invocation”
- Oracle Error: ORA-01843: not a valid month [Solved]