去掉mock

This commit is contained in:
joylink_zhaoerwei 2024-02-22 17:19:06 +08:00
parent 9d2420920c
commit f908c8db04

View File

@ -81,16 +81,7 @@ export default {
};
},
created() {
axios
.get(
'http://127.0.0.1:4523/m1/1531717-0-default/api/exercise/race/task/tree'
)
.then((response) => {
this.taskDta = this.transformTree(response.data);
})
.catch((error) => {
console.log(error);
});
this.getTreeData();
},
methods: {