From 0ad7029e838b3e1204e24a6e2010c6a668bfa34d Mon Sep 17 00:00:00 2001 From: wuduoyi Date: Fri, 21 Aug 2020 17:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20docs.json=20=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/components/DocSearch.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/components/DocSearch.jsx b/examples/components/DocSearch.jsx index 77296338..c336867e 100644 --- a/examples/components/DocSearch.jsx +++ b/examples/components/DocSearch.jsx @@ -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; })