Commit cf86b97b by chenyu

update: update

parent 7c0270a0
......@@ -197,13 +197,8 @@ export default {
[this.query.beginTime, this.query.endTime] = val || ['', ''];
},
},
exportParams: {
get () {
return Object.assign({}, this.query, { beginTime: this.getTimeAll(this.query.beginTime), endTime: this.getTimeAll(this.query.endTime) });
},
set (val) {
Object.assign({}, this.query, { beginTime: this.getTimeAll(this.query.beginTime), endTime: this.getTimeAll(this.query.endTime) });
},
exportParams: function () {
return Object.assign({}, this.query, { beginTime: this.query.beginTime ? this.getTimeAll(this.query.beginTime) : '', endTime: this.query.endTime ? this.getTimeAll(this.query.endTime) : '' });
},
},
created () {
......
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