Error in event handler for elformblur TypeError dateObjectgetTime is not a function报错 el-form-item label=会计期间: required el-col span=8 el-form-item prop=startAccountingTime
这个错误通常是因为form.startAccountingTime的值不是一个有效的日期对象造成的。可能的解决方法是在将值赋给form.startAccountingTime之前,确保它是一个有效的日期对象。可以使用new Date()函数来创建一个有效的日期对象,或者使用其他方法来解析日期字符串。
原文地址: https://www.cveoy.top/t/topic/iR8Y 著作权归作者所有。请勿转载和采集!