标准预警的日期查询 - 用element日期组件自带的清空之后查询报错

This commit is contained in:
yanyizhou
2021-12-01 19:56:56 +08:00
parent 7cd02658fb
commit 2983cad504
+13
View File
@@ -402,6 +402,19 @@ export default {
},
//查找适用车型
searchBtnClick() {
if (this.dynamic.putTime === null) {
this.dynamic.putTime = []
}
if (this.dynamic.SSRQ === null) {
this.dynamic.SSRQ = []
}
if (this.dynamic.XCXSSRQ === null) {
this.dynamic.XCXSSRQ = []
}
if (this.dynamic.ZCCSSRQ === null) {
this.dynamic.ZCCSSRQ = []
}
this.warningTableLoading = true
this.$http.get('sys/EarlyWarning/getStandWarning', {
...this.pageConfig,