Commit ffd16685 authored by 邓春圆's avatar 邓春圆

时间选择起bug修复

parent 6f329326
...@@ -171,12 +171,12 @@ export default { ...@@ -171,12 +171,12 @@ export default {
}, },
watch:{ watch:{
selectDate(val){ selectDate(val){
if(val.length){ if(val !== null && val.length){
this.queryParams.beginCreateTime = val[0] this.queryParams.beginCreateTime = val[0]
this.queryParams.endCreateTime = val[1] this.queryParams.endCreateTime = val[1]
}else { }else {
this.queryParams.beginCreateTime = '' this.queryParams.beginCreateTime = null;
this.queryParams.endCreateTime = '' this.queryParams.endCreateTime = null;
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment