[Vue warn]: Error in getter for watcher “parsedValue”: “TypeError: dateStr.match is not a function”
1、是由于页面的element ui组件的日期组件报错,组件绑定的值为Number数据类型,改一下改成String数据类型就可以例如下面所示
this.$refs.searchForm.setValue({
year: `${this.searchForm.year}`,
day: `${this.searchForm.day}`,
});