Commit 34311af2 by zhanghaozhe

mock

parent ebe6229d
...@@ -22,11 +22,6 @@ export default class App extends Component{ ...@@ -22,11 +22,6 @@ export default class App extends Component{
//拦截ajax请求,返回mock数据 //拦截ajax请求,返回mock数据
mock() mock()
api.get('/m/my_course/1/10')
.then(res => {
console.log(res)
})
} }
render(){ render(){
return <Routes/> return <Routes/>
......
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