When using the el-date-picker component of element-ui, you need to get the time in string format, and the format is yyyy-MM-dd HH:mm:ss. The code you started to write is as follows: Problem: Solve (
mainly
proofreading The verification problem requires time in string format, so type: 'date' cannot be included in the verification rule, otherwise startTime will be treated as a time object during verification):
The use of element-ui component el-date-picker encounters a TypeError: value.getTime is not a function problem
Guess you like
Origin blog.csdn.net/weixin_46319117/article/details/127583732
Ranking