forked from p96170835/amis
commit
5591a5db4e
|
@ -23,7 +23,7 @@ export default class DocSearch extends React.Component {
|
||||||
this.onSearchCancel = this.onSearchCancel.bind(this);
|
this.onSearchCancel = this.onSearchCancel.bind(this);
|
||||||
}
|
}
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
Axios.get(__uri('../docs.json'))
|
Axios.get(ContextPath + __uri('../docs.json'))
|
||||||
.then(result => {
|
.then(result => {
|
||||||
this.docs = result.data.docs;
|
this.docs = result.data.docs;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue