我是ReactJS新手,我不明白为什么我要使用Inline Babel script:24 Uncaught TypeError: $.getJSON is not a function。
componentDidMount(){
var url = "http://localhost:8080/mvn-spring-list/list"
$.getJSON(url, function (data) {
return this.setState({ listItem: data })
}).bind(this)
}
标题:
<