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」去除;
相關文章
相關標籤/搜索