mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
commit
13edec24e9
@ -23,7 +23,7 @@ export default class DocSearch extends React.Component {
|
||||
this.onSearchCancel = this.onSearchCancel.bind(this);
|
||||
}
|
||||
componentDidMount() {
|
||||
Axios.get(__uri('../docs.json'))
|
||||
Axios.get(ContextPath + __uri('../docs.json'))
|
||||
.then(result => {
|
||||
this.docs = result.data.docs;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user