Commit af6603e6 authored by danfuman's avatar danfuman

修改

parent 58714eb2
...@@ -94,9 +94,10 @@ export default { ...@@ -94,9 +94,10 @@ export default {
} }
}, },
created() { created() {
this.getData();
getYears({}).then(res => { getYears({}).then(res => {
this.yearOptions=res.data.reverse(); this.yearOptions=res.data.reverse();
this.queryParams.year=this.yearOptions[0].year;
this.getData();
}) })
}, },
methods: { methods: {
......
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