element报错“t.getFullYearisnotafunction”,TypeError:date.getHoursisnotafunction原创
原创
setDate:
总结: 类型错误导致报告错误,date内部的值类型错误,应该是字符串,而不是其他类型。
t.getFullYear is not a function” ,TypeError:date.getHours is not a function 备注视图类型
错误原因:在初始化过程中未验证时间。当返回后台数据时null什么时候,页面没有做出判断


判空处理

版权声明
所有资源都来源于爬虫采集,如有侵权请联系我们,我们将立即删除
itfan123

