去掉mock
This commit is contained in:
parent
9d2420920c
commit
f908c8db04
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user