The error reporting contents are as follows:
date.locale is not a function
Original code:
<a-form-item label="Time From:" name="signTime">
<a-date-picker placeholder="Please Select" v-model:value="formState.signTime" style="width:100%" />
</a-form-item>
Correct code:
<a-form-item label="Time From:" name="signTime">
<a-date-picker placeholder="Please Select" format="YYYY-MM-DD" valueFormat="YYYY-MM-DD" v-model:value="formState.signTime" style="width:100%" />
</a-form-item>
Summary: you need to add the time display format attribute and the final value format valueFormat attribute.
Read More:
- [Solved] dhl: Error: LINQ to Entities does not support the specified type member “Date”
- TypeError: res.render is not a function
- this.$el.querySelectorAll is not a function [How to Solve]
- [Solved] Instantiation of ‘sdram_model_plus‘ failed. The design unit was not found.
- React Hook “useState“ is called in function “xxx“ which is neither a React function component or
- Syntax Error: TypeError: this.getOptions is not a function
- TypeError: db.collection is not a function
- [Solved] Vue Install less Error: this.getOptions is not a function
- Solve the data transfer between vue irrelevant components error: this.$store.commit is not a function
- Webpack Error: Module build failed: TypeError: this.getOptions is not a function
- Webpack packaging error TypeError: this.getOptions is not a function at Object.lessLoader
- NPM install Error cb.apply is not a function
- Taro Use React Hooks Error: TypeError: Object(…) is not a function
- [vite] Internal server error:options.devServer.transformWidthEsBuild is not a function…
- [Solved] error: package android.support.design.widget does not exist
- [Solved] error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows,
- AUC Error – ValueError: Data is not binary and pos_label is not specified
- [Solved] Multiple Yum update error: Failed to set locale, defaulting to C
- Error: could not find function … in R [How to Solve]
- Abnormal [System.InvalidOperationException: custom type mapping for ‘xxx’ is not specified or is not a solution