mock 不拦截不匹配url

This commit is contained in:
Pan 2017-05-11 14:31:26 +08:00
parent da0338cd72
commit cab7d44771
1 changed files with 1 additions and 0 deletions

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;