|
@@ -316,7 +316,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
init() {
|
|
|
- if (this.searchForm.resetDate.length < 1) {
|
|
|
+ if (this.searchForm.resetDate?.length < 1) {
|
|
|
this.searchForm.resetDate = [];
|
|
|
this.searchForm.resetDate.push(getNowDateAndMonday(nowTime));
|
|
|
this.searchForm.resetDate.push(getNowDateAndSunday(nowTime));
|