src/views/Mine.vue
@@ -30,8 +30,31 @@ <script> export default { }; created() { this.init(); }, methods: { init() { let url = "/api/scheme/addOrUpdate"; this.axios.get(url,{ params: { reseachType: "1", name: "2", startTime: "2020-01-01", endTime: "2020-01-12", id: null } }).then(data_ => { console.log(data_); this.add_Step = 1; }).catch(error =>{ console.log(error); }) }, }, } </script> <style>