|
@@ -178,7 +178,7 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
init () {
|
|
|
- if(this.searchForm.listTimer.length <= 0) {
|
|
|
+ if(this.searchForm.listTimer && this.searchForm.listTimer.length <= 0) {
|
|
|
let now = new Date();
|
|
|
let startDate = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())).toISOString().slice(0, 10);
|
|
|
let endDate = new Date(Date.UTC(now.getFullYear(), now.getMonth(), now.getDate())).toISOString().slice(0, 10);
|