优化重置
This commit is contained in:
parent
ab68eb9622
commit
692eb73f9b
|
|
@ -345,6 +345,10 @@ export default {
|
|||
},
|
||||
/** 重置按钮操作 */
|
||||
resetQuery() {
|
||||
const end = new Date()
|
||||
let start = new Date()
|
||||
start.setFullYear(start.getFullYear() - 1);
|
||||
this.queryParams.time = [this.format(start), this.format(end)]
|
||||
this.queryParams.time=[]
|
||||
this.unitId=[]
|
||||
this.projectId=[]
|
||||
|
|
|
|||
Loading…
Reference in New Issue