|
@@ -1005,7 +1005,7 @@ import { error } from 'dingtalk-jsapi';
|
|
if(this.typeField != 'null' && this.typeField != null && this.typeField != '') {
|
|
if(this.typeField != 'null' && this.typeField != null && this.typeField != '') {
|
|
parameter.type = this.typeField
|
|
parameter.type = this.typeField
|
|
}
|
|
}
|
|
- if(this.dateSelect.length != 0){
|
|
|
|
|
|
+ if(this.dateSelect != null && this.dateSelect.length != 0){
|
|
parameter.dateType = this.dateType
|
|
parameter.dateType = this.dateType
|
|
parameter.startDate = this.dateSelect[0]
|
|
parameter.startDate = this.dateSelect[0]
|
|
parameter.endDate = this.dateSelect[1]
|
|
parameter.endDate = this.dateSelect[1]
|