Commit 58714eb2 authored by danfuman's avatar danfuman

修改

parent 62c23b8e
...@@ -157,7 +157,6 @@ ...@@ -157,7 +157,6 @@
} }
}, },
created() { created() {
this.querySubmit()
this.dataRegion() this.dataRegion()
this.getYears() this.getYears()
}, },
...@@ -171,7 +170,8 @@ ...@@ -171,7 +170,8 @@
getYears(){ getYears(){
getYears({}).then(res => { getYears({}).then(res => {
this.yearOptions=res.data.reverse(); this.yearOptions=res.data.reverse();
this.queryParams.year=this.yearOptions[0].year this.queryParams.year=this.yearOptions[0].year;
this.querySubmit()
}) })
}, },
//地区 //地区
......
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