mock 不拦截不匹配url

This commit is contained in:
Pan 2017-05-11 14:31:26 +08:00
parent da0338cd72
commit cab7d44771

View file

@ -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;