Vue问题1:TypeError:date.getHours is not a function

再用vue的时间控件的时候 遇到了如下的问题: 解决方法:在<el-date-picker></el-date-picker>时间控件加上value-format="yyyy-MM-dd" 以防出现date.getTimes is not a function以下的applyTime设置为null 时间控件输入框的校验的type=“date”去除;
相关文章
相关标签/搜索