forked from AkkomaGang/admin-fe
mock 不拦截不匹配url
This commit is contained in:
parent
da0338cd72
commit
cab7d44771
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue