Commit ddcd918e authored by 姬鋆屾's avatar 姬鋆屾

fixed:修改表单查询参数

parent bc93e909
......@@ -483,7 +483,10 @@ export default {
this.form.year = timestampToTime(new Date(), 2).slice(0, 4);
this.form.month = timestampToTime(new Date(), 2).slice(5);
}
this.form.idList = [];
this.form.idList ? (this.form.idList = []) : "";
if (this.$route.name == "staff/leave/list") {
this.form.idList = "";
}
this.onSubmit();
},
onSubmit() {
......
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