mock 不拦截不匹配url
This commit is contained in:
parent
da0338cd72
commit
cab7d44771
|
@ -22,5 +22,6 @@ mock.onGet('/article_table/pv').reply(article_tableAPI.getPv);
|
||||||
// 搜索相关
|
// 搜索相关
|
||||||
mock.onGet('/search/user').reply(remoteSearchAPI.searchUser);
|
mock.onGet('/search/user').reply(remoteSearchAPI.searchUser);
|
||||||
|
|
||||||
|
mock.onAny().passThrough();
|
||||||
|
|
||||||
export default mock;
|
export default mock;
|
||||||
|
|
Loading…
Reference in New Issue