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

时间选择起bug修复

parent 6f329326
......@@ -171,12 +171,12 @@ export default {
},
watch:{
selectDate(val){
if(val.length){
if(val !== null && val.length){
this.queryParams.beginCreateTime = val[0]
this.queryParams.endCreateTime = val[1]
}else {
this.queryParams.beginCreateTime = ''
this.queryParams.endCreateTime = ''
this.queryParams.beginCreateTime = null;
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